New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sftp /scp connection with rsa key does not work #1264
Comments
Can you confirm this bug when running version 2.8? |
I do have the same problem: login via ssh works perfectly, via cyberduck I get an "publickey authentication failed" error (I even tried copy-pasting password to be sure that I use the same as with ssh). my passphrase has blanks in it, maybe thats the problem? but if I store the key in the keychain and go there to have a look at the password I can see the correct passphrase stored there (by cyberduck) so whats the problem? |
I have tested against the latest nightly build also using a password with whitespace. |
I am sorry, I still get the error. I am pretty sure that it is a Cyberduck error because with Fetch, ssh and other tools it works perfectly. Check the error screenshot here |
Addendum: For private key passwords, these are stored as SSHKeychain for the Name of the application password in the Keychain. |
I am very sorry to post again. Should I just shut up and stop using Cyberduck? It does not work for me. In every other Application it works but not with Cyberduck. I tried the latest nightly build again from January 3rd. In the Screenshot I posted there is the command line and error issued. I tried the command and got the following:
So I tried it again without the port:
Might the port be a problem? Then I thought the problem might be the domain mapping... (who knows, anything possible). So i tried directly with the hostname "idlnx46.uzh.ch". Didnt work either. Also I was not sure why Cyberduck wants a Name for the key. All you usually enter is the passphrase. Of course there is the username to login on the sftp server but this information I enter in my Bookmark (Lesezeichen). I use "root". After that I shoud just be asked about the passphrase. This is a bit confusing... I will add two screenshots to illustrate what I mean. Just let me know when I should shut up and stop testing :-) |
I cannot upload the screenshots, I sent them to dkocher. By the way: It has nothing to do with the keychain because I am not storing the password there. |
Have you tried deleting all passwords with the name SSHKeychain from the Keychain? |
I wonder if scp functionality will be added soon. " I/O Error: Connection failed Does not work even if the SFTP Setting is set to: "SCP (Secure Copy)" instead of "SFTP (SSH Connection)" Thank you. |
In FileZilla and WinSCP you are able to point to a Private Key, which is used instead of a password for SCP filetransfer. |
Replying to [comment:13 DukBerCy]:
Try to create a key using the |
Replying to [comment:14 dkocher]:
Also refer to https://trac.cyberduck.io/wiki/help/en/howto/ssh#Howtoconfigurepublickeyauthentication. |
I can confirm this. rsa pubkeys don't seem to work with cyberduck. Same error message as on the attached image. Perhaps this is an java issue don't work mit muCommander either. |
after updating to cyberduck 3.3 (5552) i cannot login via sftp and id_rsa key anymore (same symptom on 4 different servers). i recently changed my key, but via ssh and sftp in terminal everything works fine on all servers. i tried to get rid of the error by reselecting my ir_rsa key from ~/.ssh, but no luck: cyberduck still echoing "publickey authorization failed". what am i missing? any hints? |
Replying to [comment:17 sidd]:
can answer the question myself. needed to setup new SSHKeychain in keychain.app since my pw changed because of new rs_ida key. wasnt aware that cyberduck isn't echoing that and just grabs the wrong, "old" pw from keychain. should have investigated one step further before posting here. keep up the good work! |
Replying to [comment:18 sidd]:
Thanks for sharing that information here. |
ATTENTION: This is how you can fix it Make sure you have the following component:
Then try the steps again. |
Hi, cheers daniel |
This problem has been present for years. This made me finally switch over to forklift, where cheers - chris |
Replying to [comment:22 tismer@…]:
This should be fixed as of 9726969. |
Using RSA keys with Passphrase does not work on CyberDuck 4.0.2 (8610)! Regression bug? I'm moving to another program... |
Hi,
I think that the authentification process is not working when ssh need a passphrase (rsa in my case) for sftp over ssh or scp.
It works fine with in terminal command line ssh and command line sftp (asking for the passphrase because the ssh server is confirgured this way).
Do you plan to enable this possibility in the near future/release ?
Regards,
Thierry
Attachments
cyberduck_error.png
(33.4 KiB)The text was updated successfully, but these errors were encountered: