SFTP Connection with WinSCP - no longer getting Host Key authentication pop up.

Advertisement

Kylec
Guest

SFTP Connection with WinSCP - no longer getting Host Key authentication pop up.

Hiya,
So in recent weeks I haven't been able to connect to a SFTP site from one of the machines we use for SFTP access. We receive the same error everything which is: "The server rejected SFTP connection, but it listens for FTP Connections". We have tried connecting via FTP connections as well but receive the error "The server rejected connection". Since then we have been in touch with the host and they said it was not there end. But some reason we are not getting prompted for the host key at all from the Server. Here are some logs from what happens below:

8-22 09:34:56.798 WinSCP Version 5.5.1 (Build 3970) (OS 6.1.7601 Service Pack 1 - Windows 7 Professional)
. 2016-08-22 09:34:56.798 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2016-08-22 09:34:56.798 Local account: domain\username
. 2016-08-22 09:34:56.798 Working directory: C:\Program Files (x86)\WinSCP
. 2016-08-22 09:34:56.798 Process ID: 5016
. 2016-08-22 09:34:56.798 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
. 2016-08-22 09:34:56.799 Time zone: Current: GMT+1, Standard: GMT+0, DST: GMT+1, DST Start: 27/03/2016, DST End: 30/10/2016
. 2016-08-22 09:34:56.799 Login time: 22 August 2016 09:34:56
. 2016-08-22 09:34:56.799 --------------------------------------------------------------------------
. 2016-08-22 09:34:56.799 Session name: username@sftp.servername.co.uk (Modified site)
. 2016-08-22 09:34:56.799 Host name: sftp.servername.co.uk (Port: 22)
. 2016-08-22 09:34:56.799 User name: username (Password: Yes, Key file: No)
. 2016-08-22 09:34:56.799 Tunnel: No
. 2016-08-22 09:34:56.799 Transfer Protocol: SFTP (SCP)
. 2016-08-22 09:34:56.799 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2016-08-22 09:34:56.799 Proxy: none
. 2016-08-22 09:34:56.799 Send buffer: 262144
. 2016-08-22 09:34:56.799 SSH protocol version: 2; Compression: No
. 2016-08-22 09:34:56.799 Bypass authentication: No
. 2016-08-22 09:34:56.799 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2016-08-22 09:34:56.799 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2016-08-22 09:34:56.799 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2016-08-22 09:34:56.799 Simple channel: Yes
. 2016-08-22 09:34:56.799 Return code variable: Autodetect; Lookup user groups: A
. 2016-08-22 09:34:56.799 Shell: default
. 2016-08-22 09:34:56.799 EOL: 0, UTF: 2
. 2016-08-22 09:34:56.799 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2016-08-22 09:34:56.799 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2016-08-22 09:34:56.799 SFTP Bugs: A,A
. 2016-08-22 09:34:56.799 SFTP Server: default
. 2016-08-22 09:34:56.799 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2016-08-22 09:34:56.799 Cache directory changes: Yes, Permanent: Yes
. 2016-08-22 09:34:56.799 DST mode: 1; Timezone offset: 0h 0m
. 2016-08-22 09:34:56.799 --------------------------------------------------------------------------
. 2016-08-22 09:34:56.845 Looking up host "sftp.servername.co.uk"
. 2016-08-22 09:34:56.855 Connecting to **.**.***.** port 22
. 2016-08-22 09:34:57.856 Failed to connect to **.**.***.**: Network error: Connection refused
. 2016-08-22 09:34:57.856 Knocking FTP port.
. 2016-08-22 09:34:58.871 FTP port opened, will suggest using FTP protocol.
* 2016-08-22 09:34:58.904 (EFatal) Network error: Connection to "sftp.servername.co.uk" refused.
* 2016-08-22 09:34:58.904 The server rejected SFTP connection, but it listens for FTP connections.
* 2016-08-22 09:34:58.904
* 2016-08-22 09:34:58.904 Did you want to use FTP protocol instead of SFTP? Prefer using encryption.

Reply with quote

Advertisement

Geoff
Guest

SFTP Connection with WinSCP - no longer getting Host Key authentication pop up.

We are getting the same issue, have tested 3 computers and 2 of the 3 work, how did you fix the issue?
Thanks

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: SFTP Connection with WinSCP - no longer getting Host Key authentication pop up.

Geoff wrote:

We are getting the same issue, have tested 3 computers and 2 of the 3 work, how did you fix the issue?
Thanks
Please attach logs from all three.

Reply with quote

Advertisement

You can post new topics in this forum