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.
精彩评论