Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Daniel Adams" <danpadams@infomagic.net>
Newsgroups: gmane.os.cygwin
Subject: Re: running sshd with a different port than 22
Date: Mon, 22 Jul 2002 10:45:33 -0700
Lines: 58
Message-ID: <ahhgc8$fap$1@main.gmane.org>
References: <105884026963.20020722181159@familiehaase.de>
NNTP-Posting-Host: qdsl-45.dsl.infomagic.net
X-Trace: main.gmane.org 1027359946 15705 63.229.104.45 (22 Jul 2002 17:45:46 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Mon, 22 Jul 2002 17:45:46 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

My guess is maybe because have an FTP server running on your computer which
by default will use port 21. Is it the FTP server associated with cygwin, or
is it a 3rd party one? I am asking because I have had troubles with my
cygwin ftp server lately.

--
Daniel Adams - danpadams@infomagic.net
http://dana.ucc.nau.edu/~dpa3

  1 Peter 4:10 (NIV)-  Each one should use whatever gift he has received to
serve others, faithfully administering God's grace in its various forms.

"Gerrit P. Haase" <freeweb@nyckelpiga.de> wrote in message
news:105884026963.20020722181159@familiehaase.de...
> Hallo,
>
> For some reason I want to run the sshd on port 21.
>
> I invoked "ssh-host-config -p 21" and let the script install
> sshd as a service (I'm on NT4).
>
> After starting sshd as a service I can connect from the same
> box with:
>
> $ ssh -p 21 localhost
>
> Now I tried to connect from a second (remote) box and I get this:
>
> $ ssh -p 21 server
> Read from socket failed: Connection reset by peer
>
> I see that it is really running:
> $ telnet server 21
> Trying 192.168.5.5...
> Connected to server.koeln.convey.de.
> Escape character is '^]'.
> SSH-1.99-OpenSSH_3.4p1
>
> I can see sshd is forking of several childs on the server...
>
> Is there some important issue I misunderstood?
> Why is it not possible to connect sshd on port 21?
>
>
> Gerrit
> --
> sig
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

