I have used this a number of times, but since I needed to look up all the flags again, I thought I would post this for those interest. I occasionally use this to allow a script to push a file from one machine thru the firewall to an external machine (via SSH).
Here is how you make the key:
ssh-keygen -N “” -q -b 1024 -C “key comment” -t rsa -f ~/.ssh/id_rsa
This then allows you to use commands like:
scp file.txt user@externalhost:/put/the/file/here/
Leave a Reply