我的博客
个人资料:
AlanThinker
AlanThinker@stk.me

让WinScp和Putty一直保持连接不断线的方法

电脑知识 发表时间:2016-09-02 更新时间:2017-07-21

Putty:
Configuration -> Connection -> "Seconds between keepalives (0 to turn of)"        
* 点击左侧的 Session菜单            
* 点击选择框中的 "Default Settings"        
* 点击 Save 按钮       

WinSCP 需要在各个连接的高级属性中设置:

Session -> Site -> Site Manager  中, 选中一个Session, 点击 Edit 按钮, 点击Advance 按钮,
             然后  Connection -> Keepalives -> "sending of null SSH packets"    

PS:  让WinSCP的配置文件保存在当前目录的方法:
Options -> Perference -> Storage -> Configuration storage -> INI file
这样的好处是: 1, 可以方便的同步到不同的电脑上, 2, 可以直接编辑配置文件, 修改多个session的属性.
IP Address: 43.129.217.254