I have copied the CLI-binaries from my block chain node to a usb flash drive, but I don’t know what directory they need to be placed in on the air gapped machine in order to create the cold keys
The folder name can be anything. The only thing you need to care about is that both machines should have the same operating system on it. So create a folder - copy the CLI tools, then start using them.
I copied the “cardano-cli” and “cardano-node” files from the
/usr/local/bin on my block producer node copied them to a folder on my air-gapped machine and attempted to run
“cardano-cli node key-gen
but I was greeted with a “cardano-cli: command not found”. The block producer is ubuntu server and the air-gap is ubuntu desktop.
yeah - if you want to be confortable add the newly created folder to the PATH environment variable:
or just execute them by defining the path to them, like:
/home/user/cardano_folder/cardano-cli node ...
or if you are in the folder of the tools this also works:
./cardano-cli node ...
and make sure that these tools has execution rights
It turns out the files themselves had issues with them that were created during the copying to the usb. I instead sent the files via ssh, and that did the trick.