Linux/SSH: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 12: Line 12:
</pre>
</pre>
[[Category:Linux/Network]]
[[Category:Linux/Network]]
[[Category:Linux]]

Revision as of 13:55, 1 April 2017

  • SSH port forwarding
$ ssh user@work.example.org -L 10000:172.16.10.10:22


  • SSH Key Login

on controlling client:

ssh-keygen -t rsa  
ssh-copy-id -i ~/.ssh/id_rsa user@server