<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 閱讀(308) 評論(0)  編輯  收藏 所屬分類: LINUX

    主站蜘蛛池模板: 国产乱子伦精品免费无码专区| 亚洲欧美日韩国产精品一区| 青青青国产色视频在线观看国产亚洲欧洲国产综合 | 亚洲午夜在线电影| 亚洲国产精品专区在线观看| 成人免费无码视频在线网站| 中文字幕免费在线观看| 插鸡网站在线播放免费观看| 免费看黄网站在线看| 亚洲一卡2卡3卡4卡5卡6卡 | 免费无码又爽又刺激高潮视频 | 亚洲精品国产品国语在线| 国产乱子伦精品免费无码专区| 在线观看av永久免费| 国产高清不卡免费在线| 久久久久久成人毛片免费看| 国内精品免费久久影院| 亚洲精品国产日韩无码AV永久免费网| 美国毛片亚洲社区在线观看| 亚洲熟妇无码一区二区三区导航| 亚洲日韩乱码中文无码蜜桃| 亚洲精品在线不卡| 中文字幕亚洲精品| 久久亚洲AV无码精品色午夜 | 国产大片免费网站不卡美女| 一区二区在线免费观看| 免费人成毛片动漫在线播放| 久久精品国产影库免费看| 在线涩涩免费观看国产精品| 毛片在线全部免费观看| 嫩草成人永久免费观看| 久久免费精品一区二区| 999久久久免费精品播放| 91人成网站色www免费下载| 中文字幕亚洲免费无线观看日本| 无码一区二区三区免费| 91麻豆国产免费观看| 成人免费福利视频| 精品免费国产一区二区| 免费人成在线观看播放国产| 亚洲视频人成在线播放|