CoinCashew
English
Search…
⌃K
Links

Transferring Files Using SSH

Common use cases can include
  • Downloading backups of stake/payment keys
  • Uploading a new operational certificate to the block producer from an offline node

To Download Files From a Node to Your Local PC

ssh <USERNAME>@<IP ADDRESS> -p <SSH-PORT>
rsync -avzhe “ssh -p <SSH-PORT><USERNAME>@<IP ADDRESS>:<PATH TO NODE DESTINATION> <PATH TO LOCAL PC DESTINATION>
Example:
ssh [email protected] -p 12345
rsync -avzhe "ssh -p 12345" [email protected]:/home/myusername/cardano-my-node/stake.vkey ./stake.vkey

To Upload Files From Your Local PC to a Node

ssh <USERNAME>@<IP ADDRESS> -p <SSH-PORT>
rsync -avzhe “ssh -p <SSH-PORT><PATH TO LOCAL PC DESTINATION> <USERNAME>@<IP ADDRESS>:<PATH TO NODE DESTINATION>
Example:
ssh [email protected] -p 12345
rsync -avzhe "ssh -p 12345" ./node.cert [email protected]:/home/myusername/cardano-my-node/node.cert