Page 1 of 1

transfereed the configuration to a new machine - but it does not work

Posted: 2018-10-26 10:52
by openSuseman
hello dear Staff

first of all - many many thanks for the great ssh-client.

i exportet the configuration from a win-machine to a linux notebook

imported it as it was recommendet.

tried to connect to a server - but failed:
Status: Verbinde mit www2.example.com:625...
Antwort: fzSftp started, protocol_version=8
Befehl: open "vhost@www2.example.com" 625
Fehler: Disconnected: No supported authentication methods available (server sent: publickey)
Fehler: Herstellen der Verbindung zum Server fehlgeschlagen
Status: Nächsten Versuch abwarten...
Status: Verbinde mit www2.example.com:625...
Antwort: fzSftp started, protocol_version=8
Befehl: open "vhost@www2.example.com" 625
Fehler: Disconnected: No supported authentication methods available (server sent: publickey)
Fehler: Herstellen der Verbindung zum Server fehlgeschlagen
conclusioi: i transfereed the configuration to a new machine - but it does not work

what do i need to do now

Re: transfereed the configuration to a new machine - but it does not work

Posted: 2018-10-26 11:52
by openSuseman
guess that there is a key missing ...


it does not work - even if i take care that both clients

eg on

a. the windows machine (source - and old notebook )
b. the linux notebook /( the one that receives the configuration files )

are exacly on the same version...

guess that there is a key missing !?

Re: transfereed the configuration to a new machine - but it does not work

Posted: 2018-10-26 20:48
by openSuseman
well we have some more insights
#
if i port over the data from

a windows machine to
a linux machine

. can cause some issues & troubles


note if the files are text based then remember that Windows use CR+LF for end of line and Linux just uses LF this can cause confusion sometimes.

well ....
1. A FYI, Microsoft announced this year as part of a batch of similar announcements that at least on Win10 this invisible line feed character is being eliminated, so there won't be a problem using files modified by Windows and non-Windows text editors.

and forthermore
2. This has only happened on Windows if you use a Microsoft text editor (eg Notepad, Wordpad, etc). Even in Windows, if you use command line text editors or most 3rd party text editors, you won't have that LF problem. Over the years, this has been my personal solution... If I'm using a file that's modified on both Windows and Linux, I use a command line text editor to make changes in Windows.

what d o you say

Re: transfereed the configuration to a new machine - but it does not work

Posted: 2018-10-26 20:54
by openSuseman
another guess could be the following#


a guess is that we are connecting to the server using a publickey, but when we exported the filezilla configuration it did not export our key file. We probably need to track down the key file on Windows, copy it over to our linux machine then browse to it in the configuratio

Re: transfereed the configuration to a new machine - but it does not work

Posted: 2018-10-26 21:39
by botg
openSuseman wrote:
2018-10-26 20:48
note if the files are text based then remember that Windows use CR+LF for end of line and Linux just uses LF this can cause confusion sometimes.
Not a problem for FileZilla, it treats the two the same in configuration files.
we are connecting to the server using a publickey, but when we exported the filezilla configuration it did not export our key file/
Technically you would be connecting using a private key. A public key is public by definition, everyone knows it and uses it. The site configuration at most contains the path to a private key, it never contains the private key.

Re: transfereed the configuration to a new machine - but it does not work

Posted: 2018-10-27 17:47
by openSuseman
Hello dear botg,

first of all many many thanks for the answer - and for your continued support.

well i guess that i need to add a ssh key file to the new machine... : that said i guess that i need to port over the key from the old notebook to the new one.

This means that i have to look for the key - on the old notebook...


again; Many thanks for the work on the great Filezilla. It rocks!!

Re: transfereed the configuration to a new machine - but it does not work

Posted: 2018-10-28 01:40
by boco
Windows - stored in Registry (HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys)

Linux and MacOS should use an SSH keyfile somewhere (probably called .sshkeys or the like).

Re: transfereed the configuration to a new machine - but it does not work

Posted: 2018-10-29 13:35
by openSuseman
many many thanks great to hear from you

will look after the stuff...