Accueil
 

Ssh

Avoid Host changed

add in .ssh/config

StrictHostKeyChecking no
Avoid problem with svn and sshfs
sshfs  -o workaround=rename server:/home/me/devel devel 
Redirection

how to connect two PC through anothers...

#redirect port 41441 of the server to the port 22 on the localhost (allow external people to connect to us throuh ssh -p 41441 locallogin@ctaf.hd.free.fr)
ssh -vvv -p 42 -R :41441:localhost:22 ctaf42@ctaf.hd.free.fr

to allow remote server to accept port forwarded connection from someone not on local host: change GatewayPorts to yes on the /etc/ssh/sshd_config of the server
Speedup ssh connection

Add this line in /etc/ssh/sshd_config (warning you wont see warning when the IP is not associated to the same dns entry) UseDNS yes

 
ssh.txt · Last modified: 2010/10/29 15:29 by ctaf
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki