开发者

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

开发者 https://www.devze.com 2023-02-05 05:26 出处:网络
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

精彩评论

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