Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2000 23:41:28 -0500
From:      Dave Uhring <duhring@charter.net>
To:        Joakim Ryden <jo@ForumOne.Com>
Cc:        Daniel O'Connor <doconnor@gsoft.com.au>, freebsd-stable@freebsd.org
Subject:   RE: Login
Message-ID:  <00092423491001.09773@dave.uhring.com>
In-Reply-To: <Pine.BSF.4.21.0009250027080.93704-100000@orion.forumone.com>
References:  <Pine.BSF.4.21.0009250027080.93704-100000@orion.forumone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 Sep 2000, Joakim Ryden wrote:
> Yesterday at 11:19pm Dave Uhring suggested:
> 
> =>On Sun, 24 Sep 2000, Daniel O'Connor wrote:
> =>> On 25-Sep-00 Joakim Ryden wrote:
> =>> >  I'm using OpenSSH as shipped, have HUP'ed, and am editing
> =>> >  the right file. ;-) That's why I got a bit stomped..
> =>> 
> =>> Hmm.. well all I can suggest is kill it and restart it :(
> =>> 
> =>> ---
> =>> Daniel O'Connor software and network engineer
> =>> for Genesis Software - http://www.gsoft.com.au
> =>> "The nice thing about standards is that there
> =>> are so many of them to choose from."
> =>>   -- Andrew Tanenbaum
> =>
> =>
> =>Are you running sshd on the other boxes?  Have you set up
> =>/root/.ssh/authorized_keys on those boxes?  It is unnecessary to run sshd on
> =>your 'master' box, but is essential to have sshd running on any client box to
> =>which you wish to connect.  Have you set up /root/.ssh/identity.pub or
> =>/root/.ssh/id_dsa.pub on your 'master' box?
> =>
> =>Dave
> 
> I'm running sshd on all boxes. I haven't set up key files -
> do you have to use RSA auth for root logins to work??
> 
> Joakim
> 
If the client box doesn't have your public key in its
/root/.ssh/authorized_keys file, it will be unable to generate the encrypted
random number it needs to send for authentication.  On each client box, mkdir
/root/.ssh, cd /root/.ssh and ftp to the master box for
/etc/ssh/ssh_host_key.pub placing it in authorized_keys.  If you wish to do DSA
authentication then get your master box's /etc/ssh/ssh_host_dsa_key.pub and put
it into the authorized_keys(2)(?) file.  Not sure here, I use only RSA.  In my
experience, login generally fails using the password authentication.  Placing
your master box's public key in authorized_keys works.

Dave


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00092423491001.09773>