Supporting SSH version 1 in addition to
version 2

 

One of our customers was using our SSH support and wanted to
use an application that used SSH version 1. Since the modified
opensshd uses /usr/local/etc/sshd_config for its configuration
information, and it supports version 2 by default, it needed to
be modified.

 

Edit /etc/ssh/sshd_config so that
Protocol 2
becomes:
Protocol 2,1
And enable the line:
HostKey /etc/ssh/ssh_host_key

 

To create the key file, if not already present, you can run
the following command as root:
ssh-keygen -f /etc/ssh/ssh_host_key -N ” -t rsa1

 

After restarting sshd, both version 1 and version 2 clients
will now be able to connect.