While this is desirable from a security perspective, it can cause problems when youre trying to perform a long running operation.Usually what happens is that your connection to the server is reset when youve been idle for a while, typically producing the error: Connection reset by peer.To circumvent this, you need to set a Keep Alive option on either the client or the server.
Option 1) Server Side Keep Alive This method is less secure than the Client Side alternative because A) you need to perform this action as root, and B) because it will apply to all client connections instead of just yours. For this reason, I recommend using the Client Side approach when possible, or at least removing this option from the server when your work is complete. If youre using Linux, the method is similar to the Server Side steps with a couple of minor differences. Ive tried Globalscape CuteFTP Professional, but it doesnt work with SFTP in the way I like. Also Ive had some problems saving files thats why I have switched to Winscp. There is a simple setting that allows to fix this issue and have a permananent connection to yor servers. As you see Ive got many server sessions (IPs are hidden for security reasons). In order to do what we need you have to tick Advanced Options checkbox. In order to prevent timeouts you have to check any option for Keepalives except off.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |