Linux/SSH: Difference between revisions

From Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
on controlling client:
on controlling client:
<pre>
<pre>
ssh-keygen -t rsa 
ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa user@server
ssh-copy-id -i ~/.ssh/id_rsa user@server
</pre>
</pre>
[[Category:Linux/Network]]
[[Category:Linux/Network]]
[[Category:Linux]]

Latest revision as of 19:55, 10 June 2020

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


  • SSH Key Login

on controlling client:

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