![]() ![]() Through reading the documentation I discovered it is also possible to set configuration on a per user basis for SSH. Hopefully it might help a few other people. This instantly fixed the issue for me anyway. Now try connecting via SSH and this should stop your SSH sessions freezing. # Set correct permissions on the config file # When in vi hit i to enter insert mode and add the following lines to the config file # Set security on the folder so only you can read, write and execute Open terminal and get going: cd /Users/yourname/.ssh The usual disclaimer applies - this article is unsupported and you make changes at your own risk. I discovered that through creating a local config file for ssh you can declare settings that fix this and many other issues. ![]() All of this was very annoying and frustrating. I was also finding that SFTP sessions via Transmit would regularly freeze. I’m using shared keys and the connection was fine and working well until I left the Terminal window idle for over 15 seconds. I’m on Mac OSX 10.5 connecting to a Centos 5 box using Terminal. #Iterm2 ssh how toFor anyone else suffering the same problem here's how to do it.Įstimated reading time: 2 minutes Table of contents Last updated Saturday, Prevent your SSH connection from freezing Recently I was finding that my SSH connection to a Media Temple (dv) Centos 5 server was freezing. Prevent your SSH connection from freezing | George Ornbo ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |