User Tools

Site Tools


computing:linux:ssh

This is an old revision of the document!


SSH

Set Up SSH Keys

Troubleshooting

ssh -v ...

Session Timeouts and Slow Logins

Take care of both with this one-liner:

On the Client PC:

echo "Host *
        ServerAliveInterval 60
        GSSAPIAuthentication=no" >> $HOME/.ssh/config

(be sure to copy and paste everything including the CRLF's and spaces)

If a permissions error is thrown:

chmod 600 /home/gcooper/.ssh/config

Non-Standard Port

:!: Adjust your firewall first or you may lose access!

vim /etc/ssh/sshd_config

Port 2222

service sshd restart

Reverse Tunnels

computing/linux/ssh.1331158671.txt.gz · Last modified: 2012/03/07 15:17 by gcooper