Need access to a local Linux computer via LAN

Jeremy C. Reed plug-discuss@lists.plug.phoenix.az.us
Mon, 2 Jun 2003 15:04:31 -0700 (PDT)


On Mon, 2 Jun 2003, Jeremy C. Reed wrote:

> You could manually do that a head of time, by adding that to your
> ~/.ssh/known_hosts file. This contains the public keys. Look in your
> sshd(8) manual page for "SSH_KNOWN_HOSTS FILE FORMAT".

I forgot to tell you where you get that info from ...

The systems public key may be located at /etc/ssh/ssh_host_key.pub (or
what's defined as the HostKey in your sshd config plus ".pub" appended to
it).

It's created like:

           ssh-keygen -t rsa1 -b 1024 \
              -f ssh_host_key -N ''

   Jeremy C. Reed
   http://www.isp-faq.com/