[ale] ssh version 1 and ssh -X

Robert L. Harris Robert.L.Harris at rdlg.net
Tue May 6 10:53:52 EDT 2003



Hmmm,

{0}:/etc/init.d>grep -i key /etc/ssh/sshd_config 
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key

{0}:/etc/init.d>./ssh restart
Could not load host key: /etc/ssh/ssh_host_rsa_key
Disabling protocol version 1. Could not load host key
Restarting OpenBSD Secure Shell server: sshdCould not load host key: /etc/ssh/ssh_host_rsa_key
Disabling protocol version 1. Could not load host key .

{0}:/etc/init.d>ls -la /etc/ssh/ssh_host_rsa_key
-rw-------    1 root     root          525 May  6 10:52 /etc/ssh/ssh_host_rsa_key
-rw-r--r--    1 root     root          329 May  6 10:52 /etc/ssh/ssh_host_rsa_key.pub

Odd.  Could this be related to the priveledge separation?  New daemon
can't read the key file?

Thus spake Jerry Yu (z.yu at voicecom.com):

> 	you need to tell it to save  to /etc/ssh/ssh_host_key or alike 
> (-f outputFileName). By  default keygen thinks you wants to generate key 
> pair for user instead of for the host/server.
> 
> 
>  On Tue, 6 May 2003, Robert L. Harris wrote:
> 
> #
> #
> #Odd:
> #
> #0}:/etc/init.d>ssh-keygen  -t rsa1
> #Generating public/private rsa1 key pair.
> #Enter file in which to save the key (/root/.ssh/identity): 
> #/root/.ssh/identity already exists.
> #Overwrite (y/n)? y
> #Enter passphrase (empty for no passphrase): 
> #Enter same passphrase again: 
> #Your identification has been saved in /root/.ssh/identity.
> #Your public key has been saved in /root/.ssh/identity.pub.
> #The key fingerprint is:
> #21:9c:19:1d:66:8b:dc:90:28:63:87:89:c5:92:19:c0 root at wally
> #
> #root at wally
> #{0}:/etc/init.d>./ssh restart
> #Disabling protocol version 1. Could not load host key
> #Restarting OpenBSD Secure Shell server: sshdDisabling protocol version 1.
> #Could not load host key .
> #
> #{0}:/etc/init.d>ls -la /root/.ssh/identity
> #-rw-------    1 root     root          525 May  6 10:44 /root/.ssh/identity
> #
> #
> #Any thoughts?
> #
> #
> #Thus spake Jerry Yu (z.yu at voicecom.com):
> #
> #> #{1}:/etc/init.d>./ssh restart
> #> #Disabling protocol version 1. Could not load host key
> #> #Restarting OpenBSD Secure Shell server: sshdDisabling protocol version
> #> #1. Could not load host key
> #> #
> #> #I have RSA and DSA keys...
> #> 
> #> 
> #> 	version 2 key can be RSA or DSA type ( -t rsa|dsa switch for 
> #> keygen)
> #> 	version 1 key have to be RSA (use -t rsa1 for keygen).
> #> 
> #> _______________________________________________
> #> Ale mailing list
> #> Ale at ale.org
> #> http://www.ale.org/mailman/listinfo/ale
> #
> #:wq!
> #---------------------------------------------------------------------------
> #Robert L. Harris                     | PGP Key ID: E344DA3B
> #                                         @ x-hkp://pgp.mit.edu 
> #DISCLAIMER:
> #      These are MY OPINIONS ALONE.  I speak for no-one else.
> #
> #Diagnosis: witzelsucht  	
> #
> #IPv6 = robert at ipv6.rdlg.net	http://ipv6.rdlg.net
> #IPv4 = robert at mail.rdlg.net	http://www.rdlg.net
> #
> 
> Jerry Yu				+1-404-487-8544 (O)
> systems engineer			jerry.yu at voicecom.com
> is support, voicecom, llc		www.voicecom.com
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | PGP Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Diagnosis: witzelsucht  	

IPv6 = robert at ipv6.rdlg.net	http://ipv6.rdlg.net
IPv4 = robert at mail.rdlg.net	http://www.rdlg.net

 PGP signature




More information about the Ale mailing list