Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

ashish.0251

Error occuring during connect to server.

server unexpectedly closed network connection error occuring during i try to connct server .
i used SFTP Connection.
martin

Re: Server unexpectedly closed network connection

I would suspect a firewall. Also, did you check a server's log file?
constsalusso

Server unexpectedly closed network connection

Hi everyone, how are you?

I'm trying to connect to a sftp server using WinSCP and I'm getting this error. I'm having the same error with Filezilla. However, I'm trying to connect to the same server from a different PC and everything works perfect, so It's a server error I just can't seem to figure out.
I'm using private keys.
I think it's related to the ports..

This is the log file (I changed IPs and other info):


. 2014-03-20 08:34:56.375 Session name: user@sftp.theserver.com (Modified site)

. 2014-03-20 08:34:56.375 Host name: sftp.theserver.com (Port: 22)
. 2014-03-20 08:34:56.375 User name: user (Password: No, Key file: No)
. 2014-03-20 08:34:56.375 Tunnel: No
. 2014-03-20 08:34:56.375 Transfer Protocol: SFTP
. 2014-03-20 08:34:56.375 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2014-03-20 08:34:56.375 Proxy: none
. 2014-03-20 08:34:56.375 Send buffer: 262144
. 2014-03-20 08:34:56.375 SSH protocol version: 2; Compression: No
. 2014-03-20 08:34:56.375 Bypass authentication: No
. 2014-03-20 08:34:56.375 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2014-03-20 08:34:56.375 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2014-03-20 08:34:56.375 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2014-03-20 08:34:56.375 Simple channel: Yes
. 2014-03-20 08:34:56.375 Return code variable: Autodetect; Lookup user groups: A
. 2014-03-20 08:34:56.375 Shell: default
. 2014-03-20 08:34:56.375 EOL: 0, UTF: 2
. 2014-03-20 08:34:56.375 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2014-03-20 08:34:56.375 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2014-03-20 08:34:56.375 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2014-03-20 08:34:56.375 Cache directory changes: Yes, Permanent: Yes
. 2014-03-20 08:34:56.375 DST mode: 1; Timezone offset: 0h 0m
. 2014-03-20 08:34:56.375 --------------------------------------------------------------------------
. 2014-03-20 08:34:56.375 Looking up host "sftp.theserver.com"
. 2014-03-20 08:34:56.407 Connecting to XX.XXX.XXX.XXX port 22
. 2014-03-20 08:35:01.485 Server unexpectedly closed network connection
. 2014-03-20 08:35:01.485 Knocking FTP port.
. 2014-03-20 08:35:03.485 FTP port did not open.


Thanks in advance