To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject:  Re: Help with sshd on alternate port on XP
Date:  Wed, 16 Nov 2005 12:13:55 -0600
Lines: 29
Message-ID: <dlfst2$rlk$1@sea.gmane.org>
References:  <b39d9f830511160947l654c547ch427e589d9258f6aa@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
In-Reply-To: <b39d9f830511160947l654c547ch427e589d9258f6aa@mail.gmail.com>
OpenPGP: url=ldap://keyserver.pgp.com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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).
>=20
> When I tried via /usr/sbin/sshd -p 8001 I get:
>=20
> $ /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.
>=20
>=20
> I've tried www.google and groups.google but cannot find a good answer.
>=20
> 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 missin=
g above.

HTH
--=20
Ren=E9 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/

