Topic "Disconnected: No supported authentication methods available"

Author Message
sorcer1
[View user's profile]

Joined: 2011-01-19
Posts: 5
Location: France
When i try to connect with a privatekey file, i have this message : Disconnected: No supported authentication methods available

session.log
Code:

. 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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
It's not using private key file.
How do you set WinSCP to use prive key file?
sorcer1
[View user's profile]

Joined: 2011-01-19
Posts: 5
Location: France
prikryl wrote:
It's not using private key file.
How do you set WinSCP to use prive key file?


You're right ! Embarassed
The private key was not correctly assigned.
Thanks.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License