Opened 6 years ago

Last modified 5 years ago

#8802 new Bug report

Public Key in a folder with non-ANSI characters.

Reported by: André Oliveira Owned by:
Priority: high Component: FileZilla Client
Keywords: sftp ssh ppk public key Cc:
Component version: Operating system type: Windows
Operating system version: Windows 8

Description

I've got a public key file (ppk)in a folder which has my name on it, namely:
C:\Users\André\PPKs\AmazonEC2.ppk

This doesn't work.
The same directory and file works for putty.

I copied the very file to C:\, meaning:
C:\AmazonEC2.ppk

It worked fine.

It seems like Filezilla doesn't like non-ANSI characters in folder paths for public keys. At least on Windows.

Change History (4)

comment:1 Changed 6 years ago by Alexander Schuch

Status: newmoreinfo

"Does not work" makes no sense here. Do you mean upload, download or what? Storing a file on your Windows computer is unrelated to FileZilla.

In case you actually want to transfer the file and this does not work, please provide logs. Thank you.

comment:2 Changed 6 years ago by André Oliveira

Status: moreinfonew

What I mean by "Does not work" is that connection doesn't establish, seeing that's what the keys in SSH are for.

comment:3 Changed 6 years ago by Alexander Schuch

Status: newmoreinfo

Does the message log show something? Can you please provide that with debug level 3?

comment:4 Changed 6 years ago by André Oliveira

Status: moreinfonew

Here's a level 3 Log:

Status:	Connecting to proxess.gotdns.com...
Trace:	Going to execute "C:\Program Files (x86)\FileZilla FTP Client\fzsftp.exe"
Response:	fzSftp started
Trace:	CSftpControlSocket::ConnectParseResponse(fzSftp started)
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ConnectSend()
Command:	keyfile "C:\Users\André\Documents\Directness\amazonec2.ppk"
Trace:	CSftpControlSocket::ConnectParseResponse()
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ConnectSend()
Command:	open "yuusou@proxess.gotdns.com" 22
Trace:	Looking up host "proxess.gotdns.com"
Trace:	Connecting to proxess.gotdns.com port 22
Trace:	Server version: SSH-2.0-OpenSSH_6.1p1 Debian-4
Trace:	Using SSH protocol version 2
Trace:	We claim version: SSH-2.0-PuTTY_Local:_Jun_27_2013_22:12:09
Trace:	Doing Diffie-Hellman group exchange
Trace:	Doing Diffie-Hellman key exchange with hash SHA-256
Trace:	Host key fingerprint is:
Trace:	ssh-rsa 2048 0e:09:78:77:41:4a:df:bb:b2:2e:5d:ad:56:8a:e6:dd
Trace:	Initialised AES-256 SDCTR client->server encryption
Trace:	Initialised HMAC-SHA1 client->server MAC algorithm
Trace:	Initialised AES-256 SDCTR server->client encryption
Trace:	Initialised HMAC-SHA1 server->client MAC algorithm
Trace:	Successfully loaded 0 key pairs from file
Trace:	Disconnected: No supported authentication methods available (server sent: publickey)
Error:	Disconnected: No supported authentication methods available (server sent: publickey)
Trace:	CSftpControlSocket::ResetOperation(66)
Trace:	CControlSocket::ResetOperation(66)
Error:	Could not connect to server

Here's the same ppk in C:\

Status:	Connecting to proxess.gotdns.com...
Trace:	Going to execute "C:\Program Files (x86)\FileZilla FTP Client\fzsftp.exe"
Response:	fzSftp started
Trace:	CSftpControlSocket::ConnectParseResponse(fzSftp started)
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ConnectSend()
Command:	keyfile "C:\amazonec2.ppk"
Trace:	CSftpControlSocket::ConnectParseResponse()
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ConnectSend()
Command:	open "yuusou@proxess.gotdns.com" 22
Trace:	Looking up host "proxess.gotdns.com"
Trace:	Connecting to proxess.gotdns.com port 22
Trace:	Server version: SSH-2.0-OpenSSH_6.1p1 Debian-4
Trace:	Using SSH protocol version 2
Trace:	We claim version: SSH-2.0-PuTTY_Local:_Jun_27_2013_22:12:09
Trace:	Doing Diffie-Hellman group exchange
Trace:	Doing Diffie-Hellman key exchange with hash SHA-256
Trace:	Host key fingerprint is:
Trace:	ssh-rsa 2048 0e:09:78:77:41:4a:df:bb:b2:2e:5d:ad:56:8a:e6:dd
Trace:	Initialised AES-256 SDCTR client->server encryption
Trace:	Initialised HMAC-SHA1 client->server MAC algorithm
Trace:	Initialised AES-256 SDCTR server->client encryption
Trace:	Initialised HMAC-SHA1 server->client MAC algorithm
Trace:	Successfully loaded 1 key pair from file
Trace:	Offered public key from "C:\amazonec2.ppk"
Trace:	Offer of public key accepted, trying to authenticate using it.
Trace:	Access granted
Trace:	Opened channel for session
Trace:	Started a shell/command
Status:	Connected to proxess.gotdns.com
Trace:	CSftpControlSocket::ConnectParseResponse()
Trace:	CSftpControlSocket::ResetOperation(0)
Trace:	CControlSocket::ResetOperation(0)
Trace:	CFileZillaEnginePrivate::ResetOperation(0)
Status:	Retrieving directory listing...
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ChangeDirSend()
Command:	pwd
Response:	Current directory is: "/home/yuusou"
Trace:	CSftpControlSocket::ResetOperation(0)
Trace:	CControlSocket::ResetOperation(0)
Trace:	CSftpControlSocket::ParseSubcommandResult(0)
Trace:	CSftpControlSocket::ListSubcommandResult()
Trace:	  state = 1
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ListSend()
Trace:	  state = 2
Command:	ls
Status:	Listing directory /home/yuusou
Trace:	CSftpControlSocket::ListParseResponse()
Trace:	CSftpControlSocket::SendNextCommand()
Trace:	CSftpControlSocket::ListSend()
Trace:	  state = 3
Status:	Calculating timezone offset of server...
Command:	mtime ".bash_history"
Response:	1374256965
Trace:	CSftpControlSocket::ListParseResponse(1374256965)
Status:	Timezone offsets: Server: 0 seconds. Local: 3600 seconds. Difference: 3600 seconds.
Trace:	CSftpControlSocket::ResetOperation(0)
Trace:	CControlSocket::ResetOperation(0)
Status:	Directory listing successful
Trace:	CFileZillaEnginePrivate::ResetOperation(0)
Note: See TracTickets for help on using tickets.