aramos...@gmail.com writes:
>I'm running Putty in Windows 7 32 bits against an OpenSSH server in
>Windows 2003. I can login sucessfully using user and pwd
>authentication, but when I change to RSA I'm not able to do it.
What version of PuTTY?
>Keys were created using PuttyGen and deployed in the server, in fact,
>Putty is doing the login but it closes after that without warning.
Try changing "Close window on exit" to "Never", then look at the PuTTY
Event Log (which you can get to from the system menu on the PuTTY
terminal window, or the Ctrl+right-click menu).
>I can see this in Putty log:
>
>--->
>
>Authenticating with public key "rsa-key-20130925 for Takion SSH server"
>Last login: Mon Sep 30 13:09:38 2013 from
>
210.red-88-26-204.staticip.rima-tde.net
>
>--/>
>
>So, I think that login was done sucessfully.
I agree that looks like a successful login (in particular, the "Last
login:" bit looks like the first bit of the login session sent by the
server).
The only thing I can think of offhand, given your symptoms, is a forced
command associated with the key in the server-side configuration that
terminates immediately, but you'd presumably know if you'd set that up.