I'm trying to run ssh2/sshd2 2.0.13 on my NT4 machine. All the other
programs seem to be running fine, but when I try to run sshd2, I get the
following error message:

[c:\usr\local\sbin]sshd2.exe
FATAL: ssh_privkey_read from /home/.ssh2/hostkey failed.

I imagine this is my fault, somehow. Since I couldn't get through the "make
install" process, I created a file /home/.ssh2/hostkey manually, by running
ssh-keygen2, then renaming the two files that resulted hostkey and
hostkey.pub, and moving them to /home/.ssh2/. Was this correct? If not, what
do I need to do instead, and if it is correct, can anyone suggest what else
might be going wrong?

I'm just using the default sshd2_config file, attached below.

Thanks for any suggestions.

Richard Stanton
Haas School of Business
U.C. Berkeley
545 Student Services Building #1900
Berkeley, CA 94720-1900

tel. (510) 642-7382
fax. (510) 643-1420
email: [EMAIL PROTECTED]
Web: http://haas.berkeley.edu/~stanton

--------------

# sshd2_config
# SSH 2.0 Server Configuration File

*:
        Port                            22
        ListenAddress                   0.0.0.0
        Ciphers                         AnyStd
#       Ciphers                         AnyCipher
#       Ciphers                         AnyStdCipher
#       Ciphers                         3des
        IdentityFile                    identification
        AuthorizationFile               authorization
        HostKeyFile                     hostkey
        PublicHostKeyFile               hostkey.pub
        RandomSeedFile                  random_seed
        ForwardAgent                    yes
        ForwardX11                      yes
# DEPRECATED    PasswordAuthentication          yes
        PasswordGuesses                 3
#       MaxConnections                  50
# 0 == number of connections not limited
        MaxConnections                  0
#       PermitRootLogin                 nopwd
        PermitRootLogin                 yes
# DEPRECATED    PubkeyAuthentication            yes
#       AllowedAuthentications          publickey,password,hostbased
        AllowedAuthentications          publickey,password
#       RequiredAuthentications         publickey,password
        ForcePTTYAllocation             no
        VerboseMode                     no
        PrintMotd                       yes
        CheckMail                       yes
        UserConfigDirectory             "%D/.ssh2"
#       UserConfigDirectory             "/etc/ssh2/auth/%U"
        SyslogFacility                  AUTH
#       SyslogFacility                  LOCAL7
        Ssh1Compatibility               yes
#       Sshd1Path                       <set by configure>
#       AllowHosts                      localhost, foobar.com, friendly.org
#       DenyHosts                       evil.org, aol.com
#       AllowSHosts                     trusted.host.org
#       DenySHosts                      not.quite.trusted.org
#       NoDelay                         yes

#       KeepAlive                       yes
        RequireReverseMapping           yes
        UserKnownHosts                  yes

# subsystem definitions

        subsystem-sftp                  sftp-server

Reply via email to