Tutoring on SSD/SSH
Michael Hipp
MHipp
Mon May 17 11:35:17 PDT 2004
On Tue, 2002-07-23 at 19:53, Andrew Mathews wrote:
> Michael Hipp wrote:
> > I'm trying to set up a host (ssd) so that it will accept ssh logins only
> > from a client with a prearranged key. But after lots of RTFM, I still
> > just don't get it. Can someone clue me in to the basic steps?
>
> The host machine must be running the ssh daemon, usually
> /usr/local/sbin/sshd to accept connections. From the client use the ssh
> (or ssh2) command, usually /usr/local/bin/ssh(2) such as:
> ssh2 xxx.xxx.xxx.xxx Use the -l flag to login as a different user
> such as: ssh2 xxx.xxx.xxx.xxx -l root
Thanks. But I've got the sshd running and accepting connections. What I
want is to tell it to only accept connections from the clients that have
a particular key. As it is, it will accept connections from anyone that
cares to fling an ssh connect at it.
Any help?
Thanks,
Michael
More information about the Linux-users
mailing list