Re: Putty: PSFTP connection without password prompt (CORRECT VERSION)

From: Stefano (s_federici_at_yahoo.com)
Date: 04/21/04


Date: 21 Apr 2004 01:08:00 -0700


> Your steps above are very good and thorough, but the use of pageant is
> optional. The worse case a scenario for a user is that he will have
> to type in the "password" when copying over the public key the very
> first time he connects. After that, the 2nd, 3rd, etc SSH connection
> attempts will use the passphrase. If the passphrase is NULL, then the
> user will connect without any prompting, otherwise, a passphrase
> prompt will appear. If the passphrase prompt is annoying (because the
> passphrse is NOT NULL), then pageant can be used.

Nothing is complete until it IS complete... :)

Well, I verified that there are some "problems" by using/not using
pageant:

1. You have to load the key(s) each time you run pageant. You can
automatically load keys by passing the private key file as an argument
of pageant, that is:

pageant mysshkey.ppk

You can automate this, at Windows startup, by putting a shortcut in
the startup folder. Security holes in this case are Welcome ;)

2. I did use a NULL passphrase but, if I don't start pageant, I'm
prompted for the password... is this correct? Or there is a bug
somewhere?



Relevant Pages