<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    paulwong

    Keep SSH session alive

    sshd (the server) closes the connection if it doesn't hear anything from the client for a while. You can tell your client to send a sign-of-life signal to the server once in a while.

    The configuration for this is in the file "~/.ssh/config", create it if the configuration file does not exist. To send the signal every four minutes (240 seconds) to the remote host, put the following in your "~/.ssh/config" file.

    Host remotehost:     HostName remotehost.com     ServerAliveInterval 240 

    This is what I have in my "~/.ssh/config":

    To enable it for all hosts use:

    Host * ServerAliveInterval 240 

    Also make sure to run:

    chmod 600 ~/.ssh/config 

    because the config file must not be world-readable.

    posted on 2019-07-30 13:46 paulwong 閱讀(310) 評論(0)  編輯  收藏 所屬分類: LINUX

    主站蜘蛛池模板: 黄网站色视频免费在线观看的a站最新 | 亚洲国产日韩女人aaaaaa毛片在线| 少妇亚洲免费精品| 日韩视频在线免费| 亚洲a∨国产av综合av下载 | 亚洲国产最大av| 在线观看无码AV网站永久免费| 亚洲欧洲日本精品| 99无码人妻一区二区三区免费| 亚洲AV成人无码天堂| 免费国产作爱视频网站| 亚洲综合色婷婷在线观看| 免费黄色小视频网站| 无人视频在线观看免费播放影院 | 麻豆一区二区三区蜜桃免费| 亚洲A∨精品一区二区三区| 亚洲AV无码一区二区乱子仑| 波多野结衣一区二区免费视频| MM1313亚洲国产精品| 久久久久久夜精品精品免费啦| 久久精品国产亚洲AV麻豆~| 91青青国产在线观看免费| 亚洲伊人色一综合网| 日韩人妻无码免费视频一区二区三区 | 亚洲Av永久无码精品黑人 | 日本成人免费在线| 一级一片免费视频播放| 亚洲国产精品VA在线观看麻豆| 四虎影视成人永久免费观看视频 | 亚洲香蕉免费有线视频| 免费无码A片一区二三区| 女bbbbxxxx另类亚洲| 久久久久亚洲AV成人网| 久久综合亚洲色hezyo| 久久久久国产成人精品亚洲午夜 | 欧洲黑大粗无码免费| 黄色毛片免费网站| 91亚洲国产成人精品下载| 女人被免费视频网站| 美女网站在线观看视频免费的| 亚洲精品一卡2卡3卡三卡四卡|