Dave,

Once you've run the keygen, you need to do a few things.
1. In your home directory, create a .ssh subdirectory:
     mkdir ~/.ssh
2. In that directory, you'll need to create at least one file:
     authorized_keys
   For SSH V2, this may be authorized_keys2 or something like that.
3. You should copy your public key into that file.
4. Copy both your public and private key to your desktop.
When you try to connect to your system, you should point your client to your
private key.  It should ask you for your passphrase and connect you.

I don't think I've missed any steps here, but...

Mark Post

-----Original Message-----
From: Dave Myers [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 1:05 PM
To: [EMAIL PROTECTED]
Subject: Setting up pvt/pub keys for SSHD DSA and PUTTY


I'm alittle confused on where I place the private and public
keys after running     ssh-keygen -t dsa

I'm using openssh-server-2.9p2-11 on a RH 7.2 system
and also using putty.exe release 0.52

I copied the private key down to my desktop
and took the default locations for the keys when
I ran ssh-keygen on the S/390 platform???

But..I don't get prompted for any passphrase when I try
loggin in using SSH V2

I suspect (after reviewing the man pages) that I may
need to tweak the /etc/ssh/sshd_config file to use DSA,
if so...can someone send me an example of that???

Tia
Dave

Reply via email to