I'd suggest

        service sshd stop
        service sshd start

I suspect in your example below that there may be a running instance of
sshd.

On Thu, 22 Nov 2001, P K wrote:

> Hi all
> 
> I started [root@host init.d]# ./sshd start and got the following: What is the 
>problem?
> 
> Generating SSH1 RSA host key: [FAILED]
> 
> and I started and got the socket: invalid argument!
> 
> [root@host sbin]# ./sshd -d
> debug1: Seeding random number generator
> debug1: sshd version OpenSSH_2.9p2
> debug1: private host key: #0 type 0 RSA1
> debug1: read PEM private key done: type RSA
> debug1: private host key: #1 type 1 RSA
> debug1: read PEM private key done: type DSA
> debug1: private host key: #2 type 2 DSA
> socket: Invalid argument
> debug1: Bind to port 22 on 0.0.0.0.
> Server listening on 0.0.0.0 port 22.
> Generating 768 bit RSA key.
> RSA key generation complete.
> 
> 
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to