Need help using WinSCP and SSH2 Keys
Hi,
I'm trying to write up documentation so users can remotely connect using SSH2 to our Linux machine, from their PC laptops.
After detailing the installation, I am having them go to PuttyGen to generate a 1024 DSA key, and saviing their public and private keys to their system. So far so good.
Now I'm stuck. How do I tell them to get the key to the server? By default, do they just log in with their current passwords and then then transfer it over?
I've written doc after doc... first using just OpenSSH, then using Cygwin. If one utility can do it, I'd like to make it as simple as possible for the end-user.
So what I need to know is what steps the user must take with WinSCP after generating the keys. Via Cygwin, it's something like:
scp id_dsa.pub username@host:./id_dsa.pub
ssh -2 host
mkdir .ssh
cd .ssh
touch authorized_keys2
chmod 600 authorized_keys2
cat ../id_dsa.pub >> authorized_keys2
rm ../id_dsa.pub
...and then logging in.
Thanks so much,
Eve
eatley@wow-corp.com
I'm trying to write up documentation so users can remotely connect using SSH2 to our Linux machine, from their PC laptops.
After detailing the installation, I am having them go to PuttyGen to generate a 1024 DSA key, and saviing their public and private keys to their system. So far so good.
Now I'm stuck. How do I tell them to get the key to the server? By default, do they just log in with their current passwords and then then transfer it over?
I've written doc after doc... first using just OpenSSH, then using Cygwin. If one utility can do it, I'd like to make it as simple as possible for the end-user.
So what I need to know is what steps the user must take with WinSCP after generating the keys. Via Cygwin, it's something like:
scp id_dsa.pub username@host:./id_dsa.pub
ssh -2 host
mkdir .ssh
cd .ssh
touch authorized_keys2
chmod 600 authorized_keys2
cat ../id_dsa.pub >> authorized_keys2
rm ../id_dsa.pub
...and then logging in.
Thanks so much,
Eve
eatley@wow-corp.com