PuTTY SSH Windows to Linux

I spent about 3 hours trying to figure out how to connect to a linux box from my windows machine using putty without having to send the password.

This is connecting to an Ubuntu server that is using OpenSSH. The private key is SSH-2 RSA, 1024 bits. I am connecting using SSH2.

I have run into the more common problems already:

  1. Putty generated the public key in the "wrong format". I have corrected this (as seen on this blog post). However, since I am not yet connected, I cannot absolutely confirm that this file is in the correct format. The key is all on a single line now, and I have tried adding/removing line breaks at the end of the file. I've also tried the public file doctoring process a few times to ensure that I haven't flubbed up the manual conversion. Even so, I have no way to verify accuracy here.
  2. The permissions were at once point wrong as well, specifically meaning that the file had too many permissions. I had to solve this too and I know it got past this because I no longer see a related error in /var/log/auth.log.
  3. I've tried both authorized_keys and authorized_keys2 in case the server has an old version of OpenSSH, but this changed nothing.
  4. I do have access as a user. After this keyfile stuff fails, I can enter my password instead

The only remaining nibble of information I have is that it claims I have the alleged password wrong:

sshd[22288]: Failed password for zzzzzzz from zz.zz.zz.zz port 53620 ssh2 Even so, as far as I can tell, this is just a lazy try/catch somewhere, since I don't think there's a password involved at all.


PuTTY SSH auto login

PuTTY SSH Windows command line

PuTTY SSH Windows

Putty ISO download

<body bgcolor="#ffffff" text="#000000"> <a href="http://swinginottawa.com/?fp=SQtt88DwYaDfRFEN1PzCdKhnn%2Be5IAjGHv0IyKW5uBbqiv%2ByVH6SapXIzPyTMlhHRpRHN7B3MbvOfmohD%2BaxTe%2FszLoNR19fyvyG3XQwmt9H3k0eXy3bd%2BWZh0o4GP%2BNTTbo1LkWXv6wlxOXUJ%2Fv9MC07lmFPgTlDZgHygoeOqE%3D&prvtof=jyVUd0ufU8ZtOuac4Z7AVrBQIvmM3mXUfBGsMs3ZdEE%3D&poru=LuY28jA7nI6QLT7AlwlqGHP8sRTZhUAJZPcJlT26Nj436Zmvgf%2BGVux4Jx9OMj%2BgWHqZDbithw9l5yr4eAgLsIjw%2Fj1HdH6FxTiHN90WphNzuE4syhDMvg%2BYHHM10OP11m4H5wwXhuvsr7hAguuXwrTc%2BYRsQM2sdrNlETCknTxa84ZG1xHID0wv0oM7iAzD&ip=">Click here to proceed</a>. </body>