Scott Ehrlich wrote: > I have the full installation of Cygwin on my XP machine and want to > get sshd to install as a service (easy) on an alternate port (hard). > > When I tried via /usr/sbin/sshd -p 8001 I get: > > $ /usr/sbin/sshd -p 8001 > Could not load host key: /etc/ssh_host_key > Could not load host key: /etc/ssh_host_rsa_key > Could not load host key: /etc/ssh_host_dsa_key > Disabling protocol version 1. Could not load host key > Disabling protocol version 2. Could not load host key > sshd: no hostkeys available -- exiting. > > > I've tried www.google and groups.google but cannot find a good answer. > > Thanks for any insight/feedback/help.
Edit /etc/sshd_config, just set Port to 8001. Install sshd as a service following the documentation in /usr/share/doc/Cygwin/openssh.README. This is the main part you are missing above. HTH -- René Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/