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 11:50] – [ssh over Proxy] tmadelinux:ssh [2020/04/28 18:12] – [X11] tmade
Line 146: Line 146:
  
   ssh -o ProxyCommand="nc -X connect -x proxy_host_or_IP:port %h %p" username@hostname   ssh -o ProxyCommand="nc -X connect -x proxy_host_or_IP:port %h %p" username@hostname
 +  ssh -o PORT=2022 -o ProxyCommand="nc -X connect -x proxy_host_or_IP:port %h %p" username@hostname              #with ssh port 2022
  
 **Hint**: Package "netcat-openbsd" which contains the programm "nc" has to been installed! **Hint**: Package "netcat-openbsd" which contains the programm "nc" has to been installed!
Line 160: Line 161:
   *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