开发者

If network speed is less than 1kb/s then why SFTP connection fails more frequently

If network speed is less than 开发者_开发知识库1kb/s then why SFTP connection fails more frequently.

If i increase network speed then no sftp connection fails.


This sounds like a timeout problem. Your slower connection probably causes the SSH connection to reset. Try adding

ServerAliveInterval 60

in your ssh_config.


Consider also using an sftp client that can recover from broken connections as for instance lftp.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜