delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/22/19:05:20

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
From: "Winston Gutkowski" <winston DOT gutkowski AT eztext DOT com>
To: "Cygwin" <cygwin AT cygwin DOT com>, "Gerrit P. Haase" <gp AT familiehaase DOT de>
Subject: RE: running sshd with a different port than 22
Date: Mon, 22 Jul 2002 16:04:36 -0700
Message-ID: <EBEMJMPFEOOPGHBJFKGPEEFNDCAA.winston.gutkowski@eztext.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <94141887082.20020722234227@familiehaase.de>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal

Looks like it to me. What netstat may tell you is if there are any OTHER
processes running against port 21 (such as ftp, as mentioned elsewhere)
which may be competing with ssh. I suspect if there were, telnet would have
had problems though.

Winston

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
Of Gerrit P. Haase
Sent: Monday, July 22, 2002 14:42
To: cygwin AT cygwin DOT com
Subject: Re: running sshd with a different port than 22


Hallo Winston,

Am Montag, 22. Juli 2002 um 23:13 schriebst du:

> I am not sure whether it will work on Cygwin, but on Linux/Unix I would
try
> netstat -nvpl
> to give you a list of processes running on listening ports. You should
then
> be able to use ps to determine what command is running.

I hope this verified that there is ssh running on port 21:

$ telnet server 21
Trying 192.168.5.5...
Connected to server.koeln.convey.de.
Escape character is '^]'.
SSH-1.99-OpenSSH_3.4p1

Now I should be able to connect with 'ssh -p 21 server' too,
at least that is what I expect.


Gerrit
--
=^..^=


--
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/

- Raw text -


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