SSHæ¥ç¶ä¸ã«ããµã¼ããµã¤ãããéä¿¡çµè·¯ä¸ã®ã«ã¼ã¿ã»NATçã§ã®ã¿ã¤ã ã¢ã¦ã(TimeOut)ã®è¨å®ã«ãããä¸å®æéã®ç¡éä¿¡ç¶æ ãç¶ããå ´åãã³ãã¯ã·ã§ã³ãåæããããã¨ãããã¾ãã ãããåé¿ããããã«ãDebianç³»ã®OpenSSHããã±ã¼ã¸ã§ã¯ãç¬èªæ¡å¼µãæ½ããã¦ããããProtocolKeepAlivesããè¨å®ãããã¨ã§ãkeepaliveãä¿ã¤ããã«å®æçã«ãã±ãããéä¿¡ãã¦ãããããã«ãªãã¾ãã ä¾ãã°ã60ç§æ¯ã«keepaliveç¨ã®ãã±ãããéä¿¡ããå ´åã¯ã以ä¸ã®ããã«è¨å®ãè¡ãã¾ãã (OSã§ã®)å ¨ã¦ã¼ã¶ã«å¯¾ãã¦é©ç¨ $ sudo vi /etc/ssh/ssh_configãªæãã§ããã¡ã¤ã«ãéãããã ProtocolKeepAlives 60ã追è¨ãã¾ãã å人ã¦ã¼ã¶ã®ã¿é©ç¨ $ vi ~/.ssh/configãªæãã§ããã¡ã¤ã«ãéãããã Host * Pro
{{#tags}}- {{label}}
{{/tags}}