silent ssh-keygen
Fri, 25 Mar 2011 22:01 categories: onelinerI sometimes have to tell friends to connect to me via ssh to get some files or similar things but they mostly did not yet generate a private/public keypair for themselves.
So for me to remember the command to generate that in the standard place without requiring any user input that would just confuse them here is the command:
ssh-keygen -q -t rsa -f ~/.ssh/id_rsa -N ""