delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/22/12:14:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 22 Jul 2002 18:11:59 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <105884026963.20020722181159@familiehaase.de>
To: cygwin AT cygwin DOT com
Subject: running sshd with a different port than 22
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019