# Noob guide for air gapped machine

**URL:** <https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917>\
**Category:** Stake Pool Security\
**Created:** [7 December 2020 13:05 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917 "2020-12-07T13:05:32Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hakkija](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@Hakkija](https://forum.cardano.org/u/Hakkija)\
**Post date:** [7 December 2020 13:05 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917/1 "2020-12-07T13:05:32Z")

</div>

Hello  
is there a noob guide for making an air-gapped machine?

I get files from the server by the command `scp`, then i navigate my terminal to `Cardano cli` folder, but when i run key generation commands:  
cardano-cli shelley node key-gen   
–cold-verification-key-file node.vkey   
–cold-signing-key-file node.skey   
–operational-certificate-issue-counter node.counter

it tells me no commands found.

---

<div class="post-metadata">

**Author:** ![Johann\_ADAholycs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/johann_adaholycs/32/25579_2.png) [@Johann\_ADAholycs](https://forum.cardano.org/u/Johann_ADAholycs)\
**Post date:** [7 December 2020 14:23 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917/2 "2020-12-07T14:23:27Z")

</div>

Hi Hakkija,

I hope I did not miss your question. The solution would be to copy the executable cardano-cli from your hot environment to your cold environment.

Best,  
Johann

---

<div class="post-metadata">

**Author:** ![Hakkija](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@Hakkija](https://forum.cardano.org/u/Hakkija)\
**Post date:** [7 December 2020 14:58 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917/3 "2020-12-07T14:58:41Z")

</div>

Hello Johan  
i download directory from node server to my linux computer, but still cant run it trough terminal.

Best regards,  
Henri

---

<div class="post-metadata">

**Author:** ![Johann\_ADAholycs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/johann_adaholycs/32/25579_2.png) [@Johann\_ADAholycs](https://forum.cardano.org/u/Johann_ADAholycs)\
**Post date:** [7 December 2020 16:04 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917/4 "2020-12-07T16:04:54Z")

</div>

Hi Henri,

You need your cardano-cli executable.  
Run the command in the shell:  
which cardano-cli  
on your server where it is installed. This will promt you the location of the executable.  
Copy this cardano-cli to your cold environment.

I hope this helps you.

Best,  
Johann

---

<div class="post-metadata">

**Author:** ![Hakkija](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@Hakkija](https://forum.cardano.org/u/Hakkija)\
**Post date:** [7 December 2020 16:18 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917/5 "2020-12-07T16:18:49Z")

</div>

Thank you Johann  
it looks different directory then i downloaded, i will try now.

---

<div class="post-metadata">

**Author:** ![Hakkija](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@Hakkija](https://forum.cardano.org/u/Hakkija)\
**Post date:** [7 December 2020 17:59 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917/6 "2020-12-07T17:59:39Z")

</div>

Hello

still nothing, i downloaded the binary executable file, but when i run commands in the same folder it states:  
henri@henri-laptop:/media/henri/scan$ cardano-cli shelley node key-gen   
\> --cold-verification-key-file node.vkey   
\> --cold-signing-key-file node.skey   
\> --operational-certificate-issue-counter node.counter  
cardano-cli: command not found

is there a command how to run the executable file?

---

<div class="post-metadata">

**Author:** ![Hakkija](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@Hakkija](https://forum.cardano.org/u/Hakkija)\
**Post date:** [7 December 2020 18:05 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917/7 "2020-12-07T18:05:57Z")

</div>

now it generated files, but they are empty and filesize is 0bytes.  
**henri@henri-laptop:/media/henri/scan$** ls  
cardano-cli --cold-verification-key-file  
–cold-signing-key-file --operational-certificate-issue-counter

---

<div class="post-metadata">

**Author:** ![Johann\_ADAholycs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/johann_adaholycs/32/25579_2.png) [@Johann\_ADAholycs](https://forum.cardano.org/u/Johann_ADAholycs)\
**Post date:** [7 December 2020 18:46 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917/8 "2020-12-07T18:46:27Z")

</div>

Hi Henri,

to run an executable you should type  
./cardano-cli

the dot and the slash infront of cardano is important

Best,  
Johann

---

<div class="post-metadata">

**Author:** ![Hakkija](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@Hakkija](https://forum.cardano.org/u/Hakkija)\
**Post date:** [7 December 2020 18:52 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917/9 "2020-12-07T18:52:43Z")

</div>

Hello Johann

_i think i needed wineHQ for that, im downloading it._  
_got error that i dont have executable software on linux._  
cancel that. 😃  
when i run ./cardano-cli it tells me i dont have permissions, when i do sudo, it tells me there is no command like that in cardano-cli

---

<div class="post-metadata">

**Author:** ![Hakkija](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@Hakkija](https://forum.cardano.org/u/Hakkija)\
**Post date:** [7 December 2020 19:08 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917/10 "2020-12-07T19:08:31Z")

</div>

> [@Johann\_ADAholycs](#):
>
> ./cardano-cli

Hello,  
i think i finally got it, problem was when i copied cardano-cli to usb stick it changed permission to read only and i could not change it. i did keys on my laptop and now will move them to usb.  
Thank you!

---

<div class="post-metadata">

**Author:** ![Geoffrey\_Tipy](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/geoffrey_tipy/32/45227_2.png) [@Geoffrey\_Tipy](https://forum.cardano.org/u/Geoffrey_Tipy)\
**Post date:** [10 November 2021 09:19 UTC](https://forum.cardano.org/t/noob-guide-for-air-gapped-machine/42917/11 "2021-11-10T09:19:58Z")

</div>

I think there is a pre-requesit is a machine with the libraries installed.  
my experience is libsoduim was needed and then after that it needs GLIBC so I am currently trying to work this out myself.
