![]() ![]() ![]() Use the chmod command and add the following file permission to it: chmod 600 ~/.ssh/config It is important to give it the correct file permissions otherwise you'll have permission denied error while connecting via SSH. I have explained SSH config file in detail here.įirst, make sure that you have the ssh config file. On the client side, you can take advantage of it to set certain SSH parameters for specific connections or all of them. I hope you are aware of the SSH config files. ![]() While connecting to the remote Linux system through SSH, you can mention the ServerAliveInterval value like this: ssh -o ServerAliveInterval=600 this thing work but manually entering this option each time you connect to the server is tiresome. Let's say you want to keep your SSH connection alive with up to 10 minutes (600 seconds) of idle time. Method 1: Client side SSH configuration change
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |