Sunday, July 7, 2024

FileZilla stopped utilizing keys from ssh-agent on macOS

I lately arrange SSH entry to my internet servers on my Mac by following GitHub’s documentation for Producing a brand new SSH key and including it to the ssh-agent. After that, I put in FileZilla and the connections to my servers labored accurately. Nonetheless, right now I restarted my Mac, and tried to attach by way of SSH utilizing the terminal, it requested me for the passphrase of my personal key. I entered it and will join. Nonetheless, I nonetheless could not connect with my servers by way of SFTP on FileZilla. I attempted operating eval "$(ssh-agent -s)" and ssh-add --apple-use-keychain ~/.ssh/id_ed25519, however this didn’t assist. I’m both getting in FileZilla:

FATAL ERROR: No supported authentication strategies obtainable (server despatched: publickey,gssapi-keyex,gssapi-with-mic)
Error:          Couldn't connect with server

or

Standing:         Utilizing username "root". 
Standing:         Entry denied 
Error:          Authentication failed.
Error:          Vital error: Couldn't connect with server

relying on which server I attempt to hook up with.

If I make use of FileZilla’s key import, changing the important thing file to a supported format (.ppk extension), and manually coming into the passhprase within the immediate, the connections succeeds.

Why did FileZilla cease making use of the ssh-keygen (which is used tremendous by means of the terminal when utilizing the SSH and SFTP protocols)?

Debug log excerpt:

Hint:          Pageant is operating. Requesting keys.
Hint:          Pageant has 0 SSH-2 keys

I’ve all the time had “Regular” Logon kind and echo $SSH_AUTH_SOCK prints /var/folders/sm/xxxxx/T//ssh-xxxx/agent.1133, as described right here. I’ve tried utilizing each Regular and Interactive mode, and each do not work anymore, however they used to work earlier than the system restart. I additionally tried restarting my system once more and this did not assist.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles