The remote server requires a private key and passphrase for authentication. I'm trying to connect to the server as
root (on that server) from Nautilus running on behalf of my non-root account on my local Ubuntu desktop. The private key that is needed for authentication is not located in
~/.ssh (I've already got other keys there) but I have it in another directory.
In addition to the obvious approach, I tried putting
root@server in the "Server" field and leaving "User name" and "Password" fields blank, putting the passphrase in the "Password" field, but it still says "Permission denied" and it doesn't ask for the private key at any point.
I also tried
ssh-add path/to/privatekey, but it says "Could not open a connection to your authentication agent.", however I'm not sure if
ssh-add is even relevant here.
I can ssh into the server from the terminal just fine with
ssh -i <...>/id_rsa root@server
and answering the passphrase question that follows.