Disconnected: No supported authentication methods available

Advertisement

sorcer1
Joined:
Posts:
5
Location:
France

Disconnected: No supported authentication methods available

When i try to connect with a privatekey file, i have this message : Disconnected: No supported authentication methods available

session.log
. 2013-01-16 13:11:48.817 --------------------------------------------------------------------------
. 2013-01-16 13:11:48.817 WinSCP Version 5.1.0 (Build 2625) (OS 6.1.7601 Service Pack 1)
. 2013-01-16 13:11:48.817 Configuration: nul
. 2013-01-16 13:11:48.817 Local account: AD\test
. 2013-01-16 13:11:48.817 Working directory: C:\Windows\system32
. 2013-01-16 13:11:48.817 Command-line: "C:\Tools\winscp.exe" /xmllog="C:\Users\test\AppData\Local\Temp\tmp369A.tmp" /xmlgroups /nointeractiveinput /dotnet=510 /ini=nul /log="C:\Users\test\AppData\Local\Temp\session.log"  /console /consoleinstance=_2768_492
. 2013-01-16 13:11:48.817 Login time: mercredi 16 janvier 2013 13:11:48
. 2013-01-16 13:11:48.817 --------------------------------------------------------------------------
. 2013-01-16 13:11:48.817 Session name: partner@192.168.0.1 (Ad-Hoc session)
. 2013-01-16 13:11:48.817 Host name: 192.168.0.1 (Port: 22)
. 2013-01-16 13:11:48.817 User name: partner (Password: No, Key file: No)
. 2013-01-16 13:11:48.817 Tunnel: No
. 2013-01-16 13:11:48.817 Transfer Protocol: SFTP
. 2013-01-16 13:11:48.817 Ping type: -, Ping interval: 30 sec; Timeout: 3600 sec
. 2013-01-16 13:11:48.817 Proxy: none
. 2013-01-16 13:11:48.817 SSH protocol version: 2; Compression: No
. 2013-01-16 13:11:48.817 Bypass authentication: No
. 2013-01-16 13:11:48.817 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2013-01-16 13:11:48.817 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2013-01-16 13:11:48.817 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2013-01-16 13:11:48.817 SFTP Bugs: A,A
. 2013-01-16 13:11:48.817 Return code variable: Autodetect; Lookup user groups: A
. 2013-01-16 13:11:48.817 Shell: default
. 2013-01-16 13:11:48.817 EOL: 0, UTF: 2
. 2013-01-16 13:11:48.817 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2013-01-16 13:11:48.817 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2013-01-16 13:11:48.817 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2013-01-16 13:11:48.817 Cache directory changes: Yes, Permanent: Yes
. 2013-01-16 13:11:48.817 DST mode: 1
. 2013-01-16 13:11:48.817 --------------------------------------------------------------------------
. 2013-01-16 13:11:48.817 Looking up host "192.168.0.1"
. 2013-01-16 13:11:48.817 Connecting to 192.168.0.1 port 22
. 2013-01-16 13:11:48.833 Server version: SSH-2.0-OpenSSH_5.5
. 2013-01-16 13:11:48.833 Using SSH protocol version 2
. 2013-01-16 13:11:48.833 We claim version: SSH-2.0-WinSCP_release_5.1
. 2013-01-16 13:11:48.833 Doing Diffie-Hellman group exchange
. 2013-01-16 13:11:48.942 Doing Diffie-Hellman key exchange with hash SHA-1
. 2013-01-16 13:11:49.098 Verifying host key rsa2 0x23,0xa3[DELETED]17 with fingerprint ssh-rsa 2048 74:[DELETED]:63
. 2013-01-16 13:11:49.098 Host key matches configured key
. 2013-01-16 13:11:49.098 Host key fingerprint is:
. 2013-01-16 13:11:49.098 ssh-rsa 2048 74:[DELETED]:63
. 2013-01-16 13:11:49.098 Initialised AES-256 SDCTR client->server encryption
. 2013-01-16 13:11:49.098 Initialised HMAC-SHA1 client->server MAC algorithm
. 2013-01-16 13:11:49.098 Initialised AES-256 SDCTR server->client encryption
. 2013-01-16 13:11:49.098 Initialised HMAC-SHA1 server->client MAC algorithm
! 2013-01-16 13:11:49.192 Using username "partner".
. 2013-01-16 13:11:49.208 Disconnected: No supported authentication methods available (server sent: publickey,gssapi-with-mic)

I saw the debug.log and there's no trace about the private key file.

Can somebody help me ?

Thanks.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: Disconnected: No supported authentication methods available

It's not using private key file.
How do you set WinSCP to use prive key file?

Reply with quote

sorcer1
Joined:
Posts:
5
Location:
France

Re: Disconnected: No supported authentication methods available

martin wrote:

It's not using private key file.
How do you set WinSCP to use prive key file?

You're right ! :oops:
The private key was not correctly assigned.
Thanks.

Reply with quote

pranav
Guest

"Disconnected: No supported authentication methods available" error

For transferring .iso file from Windows(base pc) platform to Linux Virtual Machine( VMware workstation) , i tried to use winscp but am unable to connect , when i try to connect it shows "Disconnected: No supported authentication methods available" . Please suggest if there are any perquisites to be performed before creating Virtual Machine or any network seetings to be modified in VM .

Thanks

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: "Disconnected: No supported authentication methods available" error

pranav wrote:

For transferring .iso file from Windows(base pc) platform to Linux Virtual Machine( VMware workstation) , i tried to use winscp but am unable to connect , when i try to connect it shows "Disconnected: No supported authentication methods available" . Please suggest if there are any perquisites to be performed before creating Virtual Machine or any network seetings to be modified in VM .
Start a new thread for your new problem!
Anyway, this is not a support forum for setting up an SSH server. Consider asking at Super User.

Reply with quote

Advertisement

You can post new topics in this forum