Linux/SSH: Difference between revisions
< Linux
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
* SSH Key Login | * SSH Key Login | ||
on controlling client: | |||
<pre> | <pre> | ||
ssh-keygen -t rsa | ssh-keygen -t rsa | ||
ssh-copy-id -i ~/.ssh/id_rsa user@server | |||
</pre> | </pre> |
Revision as of 17:01, 15 April 2014
- 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