On Wed, 14 Jun 2000, Ethan Benson wrote: > On Wed, Jun 14, 2000 at 09:26:55AM -0500, Timothy C. Phan wrote: > > hi All, > > > > I'm still confused about the keys file. > > > > I ran the ssh-keygen on machine-1 with passphrase > > and it created two files in > > $HOME/.ssh/identify > > $HOME/.ssh/identify.pub > > > > I copy the identify.pub to machine-2:$HOME/.ssh/m1.key > > on machine-2, I ran the command on machine-2 to logon > > machin-1: > > > > ssh -i $HOME/.ssh/m1.key machine-1 > > > > put the public key in $HOME/.ssh/authorized_keys in order to allow > logins using the associated private key. > >
Yeah, basically you need to rename that identity.pub file to authorized_keys on their other end as far as I remember. By the way, I don't really know what you're trying to do but if you did enter a passphrase you will not then be able to ssh or scp to that host without entering a password. I was just thinking that perhaps you're trying to set up the whole thing so that you are not prompted for a password at all, so you can run scripts remotely. So, if that is the case keep in mind that you do NOT need a passphrase. -- Nitebirdz http://www.linuxnovice.org Tips, articles, news, links...