From owner-freebsd-security Sun Sep 3 15: 1:34 2000 Delivered-To: freebsd-security@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 5B25F37B424 for ; Sun, 3 Sep 2000 15:01:31 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 3 Sep 2000 15:00:28 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.9.3/8.9.3) id PAA61010; Sun, 3 Sep 2000 15:01:29 -0700 (PDT) (envelope-from cjc) Date: Sun, 3 Sep 2000 15:01:29 -0700 From: "Crist J . Clark" To: Ali Alaoui El Hassani <961BE653994@stud.alakhawayn.ma> Cc: CrazZzy Slash , freebsd-security@FreeBSD.ORG Subject: Re: Ssh2, sftp port Numbers ??? Message-ID: <20000903150129.M62475@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from 961BE653994@stud.alakhawayn.ma on Sun, Sep 03, 2000 at 08:32:25PM +0000 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Sep 03, 2000 at 08:32:25PM +0000, Ali Alaoui El Hassani wrote: > Dear All, > Thanx to your help successfully installed ssh2. Now i am confused about > one thing. When I use ssh2 or sftp I see that they use the same port > number which is 22. Hum?, my question is: > How to distinguish between the two applications ssh2 and sftp? > is there anyway for me to assign sftp another port number, say 199 ? Both ssh2 and sftp are talking to the same daemon on the remote host. That's why they connect to the same port. You can use other ports, but why? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message