I have installed ssh on my server. To be able to
login to make a key on my
server, I have set PasswordAuthentication
to yes, then
logged in with Putty,
used ssh-keygen, copied my pair over to windoze,
added public key to
authorized_keys on my home dir on server and it
worked.
How would users make a keypair if i had set
PasswordAuthentication to no?
Then they cannot even login to make a
pair? What's the proper policy for
this?
My method required me to use the less save password
authentication but
there are probably better ways to do this, no
?
Also, Putty doesn't seem to work (at least here)
with type "rsa" keys.
The first key i made was the default of my ssh
version which is rsa1.
So i did ssh-keygen -t rsa and then also added the
key to authorized_keys
but when i tried to
login with putty, after i filled in my user name, the program
closed instead of
asking for my passphrase, anybody know why?
In ssh-> protocol options, i specified
"Preferred SSH protocol version" 2 and
loaded my private
keyfile there id_rsa.
Also, any good sources on the net that explains
this opic better, tldp wasn't
any good.
Thanks for any info
|