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
Example:
ssh myusername@6.1.2.3 -p 12345
rsync -avzhe "ssh -p 12345" myusername@6.1.2.3:/home/myusername/cardano-my-node/stake.vkey ./stake.vkey
To Upload Files From Your Local PC to a Node
Example:
ssh myusername@6.1.2.3 -p 12345
rsync -avzhe "ssh -p 12345" ./node.cert myusername@6.1.2.3:/home/myusername/cardano-my-node/node.cert