[SunHELP] Re: sshd2 - remote connection

Will Yardley william+sun at hq.newdream.net
Wed Feb 20 09:30:43 CST 2002


Dicu Silviu wrote:
> --- "Markham, Richard" <RMarkham at hafeleamericas.com> wrote:

> > I uncommented IgnoreRootRhosts  no and then created a ~/.rhosts
> > files and am not able to connect.  Am I in the right direction?

> what do you mean "the ability to ssh to a particular box" ?

if you want to connect without a password,  you'll want to generate a
passwordless dsa or rsa key.

i don't see mention of what version of ssh you're using; if you're using
openssh, you'd do something like:

machine1% ssh-keygen -d
[generate a dsa key... don't enter a passphrase when prompted - leave it
blank if you want to authenticate without one]

machine1% scp .ssh/id_dsa.pub machine2:machine1.pub
machine1% ssh machine2

machine2% cat machine1.pub >> .ssh/authorized_keys
or (for older versions of openssh)
machine2% cat machine1.pub >> .ssh/authorized_keys2

for information that's specific to your implementation of ssh (and the
version you're running) consult the fine manual.

-- 
William Yardley
GnuPG public key: http://infinitejazz.net/will/pgp/gpg.asc



More information about the SunHELP mailing list