The public key login dance
I've been using Penguinet for what might be 10 years now. I love it. It's great. And whenever I use Putty I hate it.
When I log in to a server with public/private key pair, I have to do the following dance:
First, I enter my password for the key and get:
"You've chosen public key login but the server has been unable to authenticate you, would you like to attempt automatic authentication?"
I say NO. I then get:
"The connection to [server] has been closed because the remote host closed the connection normally"
I say RECONNECT. Penguinet then logs me in. (BTW wouldn't it be a lovely world if Windows let you copy dialogue text to the clipboard?)
Every. Single. Time. I have probably wasted a whole day of my life on those dialogues.
Er, we’d like to know too. We don’t get that. What is the server running? Do you have access to the sshd logs?
The servers are running various flavours of Linux, all running OpenSSH stock installs as part of the distro as far as I know. For instance, here's the sshd_config from one I just did the dance with (pretty much fresh install of Ubuntu server 10.04):
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
AllowUsers bonobo swamster hammo lam popper arse
I have access to the logs, but there's nothing I can see in them about any warnings or other indications of oddness. Like I say, this is just one server amongst many that have given me this problem over the years.