Labels

Friday, October 25, 2013

SSH issues in Ubuntu

Problem 1:

When using ssh to connect to a remote server from an Ubuntu based machine, there is a long delay before the password prompt is displayed.

Solution:

On the local machine, edit the ~/.ssh/config file (or create it if it does not exist) and add the line:

GSSAPIAuthentication=no




Problem 2:

When connected to a remote server with ssh, if idle too long, connection will be ended with this message:

Write failed:  Broken pipe


Solution:

On the local machine, edit the ~/.ssh/config file (or create it if it does not exist) and add the line:

ServerAliveInterval 120

No comments:

Post a Comment