Linux/SSH

From Wiki
< Linux
Revision as of 17:13, 23 October 2013 by Marcluer (talk | contribs)
  • SSH port forwarding
$ ssh user@work.example.org -L 10000:172.16.10.10:22


  • SSH Key Login

slave:

ssh-keygen -t rsa  

master:

cat ~/.ssh/*.pub | ssh user@remote-system 'umask 077; cat >>.ssh/authorized_keys'