Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:ssh [2020/04/28 18:12] – [X11] tmadelinux:ssh [2021/03/22 11:24] – [ssh-agent] tmade
Line 136: Line 136:
 ==== ssh-agent ==== ==== ssh-agent ====
  
-  ssh-agent bash                              #Start the agent for the required shell (sh, bash etc.) +  ssh-agent -s                                #Start the agent
-  eval $(ssh-agent -s)+
   ssh-add ~/.ssh/id_rsa                       #Add the key (passphrase will be promted)   ssh-add ~/.ssh/id_rsa                       #Add the key (passphrase will be promted)
- 
 ==== ssh Tunnel ==== ==== ssh Tunnel ====
   ssh -L 4242:suse10.site:110tmade@suse10.site #user tmade forwards the connection comming in on port 4242 of his local host suse10 to port 110(POP3) on the remote host suse10 via ssh tunnel (port forwarding)   ssh -L 4242:suse10.site:110tmade@suse10.site #user tmade forwards the connection comming in on port 4242 of his local host suse10 to port 110(POP3) on the remote host suse10 via ssh tunnel (port forwarding)
linux/ssh.txt · Last modified: 2021/10/18 09:04 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki