[techtalk] Re: ssh setup

Beverly Guillermo mezanin at home.com
Thu Jan 20 01:44:30 EST 2000

When you run a ssh client, the key should be saved the first time in
some file that it will now use each time it connects.

If you compiled ssh by default, it'll use the /usr/local subdirectories.
When you run ssh-keygen, you need to make sure you're placing the key
into /usr/local/etc directory rather then just /etc written in the 

$ ssh-keygen -b 1024 -f /usr/local/etc/ssh_host_key -N ''

I think that's how you create one.


Wed, 19 Jan 2000, Subba Rao wrote:

> I have downloaded the OpenSSH and OpenSSL (prerequisite for OpenSSH).
> The installation went fine.
> I have several questions about the public/private keys. When I used the ssh-keygen,
> the keys were generated. I am assuming you use one of these keys with the ssh client.
> The clients I will use are on Win95/NT and OS/2.
> Do I copy these keys and put them in the ssh clients directory?
> When I tried to start sshd, I got the following message.
> error: Could not load host key: /usr/local/etc/ssh_host_key: No such file or directory
> I did not see any info about ssh_host_key in the ssh or sshd man pages. What
> is this key and how do I fix it?
> Subba Rao
> subb3 at attglobal.net
> http://pws.prserv.net/truemax/
>  => Time is relative. Here is a new way to look at time. <=
> http://www.smcinnovations.com
> ************
> techtalk at linuxchix.org   http://www.linuxchix.org

bguill at home.com			  http://members.home.com/bguill/

techtalk at linuxchix.org   http://www.linuxchix.org

More information about the Techtalk mailing list