Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

RE: OpenSSH question of server keys on FreeBSD

Subject: RE: OpenSSH question of server keys on FreeBSD
Date: Mon, 11 Apr 2005 09:25:30 -0400
-----Original Message-----
From: joel d [mailto:joelgroup@gmail.com] 
Sent: Friday, April 08, 2005 3:26 PM


Hi,

I am running into a problem trying to setup OpenSSH 3.6.1 on FreeBSD
5.3 release.  I am connecting via clients (both ssh on BSD and WinSCP
on Windows). 

When I test the server with "sshd -ddd", I get an error back from the
server which reads:
debug3:  Not a RSA1 key file /etc/ssh/ssh_host_dsa_key

Joel, 
The file name above indeed does not appear to be a RSA1 key. In fact the name 
(whether accurate or not) states the key to be DSA.

Here is an example of my host keys and the relevant entry in my sshd_config:

$ ls /etc/ssh/*key
/etc/ssh/ssh_host_dsa_key
/etc/ssh/ssh_host_rsa_key

$ grep -i key /etc/ssh/sshd_config
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key

On my host, I support ssh protocol 2, so I only have DSA and RSA host keys. If 
I had an RSA1 host key it would read like this in my sshd_config:

HostKey /etc/ssh/ssh_host_key

With that said, it is best practice to use only protocol 2.
  

HTH.
Matt


 

<Prev in Thread] Current Thread [Next in Thread>