First, to escape from a frozen ssh session, press and release (excluding the brackets) [ENTER], [~], [.] in succession. On the client machine and on the instance, set the mtu of the interface to 1454 bytes. $sudo ifconfig eth0 mtu 1454 If the above steps did not work, try the following. On your instance edit /etc/ssh/sshd_config then add the following lines at the end. Restart sshd then exit the session. $sudo service ssh restart $exit
Reconnect again. Lastly, if you are using gnome-terminal, set the custom command in Edit->Profile Preferences to the following. env TERM=xterm /bin/bash It is highly recommended to use screen after login. |