Linux/SSH: Difference between revisions

From Wiki
m (Marcluer verschob Seite Linux/SSH Key Login nach Linux/SSH)
No edit summary
Line 1: Line 1:
* SSH port forwarding
<pre>
$ ssh user@work.example.org -L 10000:172.16.10.10:22
</pre>
* SSH Key Login
slave:
slave:
<pre>
<pre>
ssh-keygen -t rsa   
ssh-keygen -t rsa   
</pre>
</pre>


master:
master:

Revision as of 17:13, 23 October 2013

  • 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'