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
Next revisionBoth sides next revision
linux:ssh [2019/11/20 13:01] – [ssh over Proxy] tmadelinux:ssh [2020/09/22 14:26] – [ssh-agent] tmade
Line 136: Line 136:
 ==== ssh-agent ==== ==== ssh-agent ====
  
-  ssh-agent bash                              #Start the agent for the required shell (sh, bash etc.+  eval $(ssh-agent -s)                        #Start the agent for the required shell (sh, bash etc.)
-  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-agent bash                              #Start the agent for the required shell (sh, bash etc.) 
  
 ==== ssh Tunnel ==== ==== ssh Tunnel ====
Line 161: Line 162:
   *export DISPLAY=localhost:10.0   *export DISPLAY=localhost:10.0
   *xclock (or another X-Programm)   *xclock (or another X-Programm)
 +
 +====Check ssh-config====
 +
 +  sshd -t                       #command to check for syntax errors in your configuration file
 +  sshd -T                       #output active directives
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