I don't see why not. All you need to do is run two instances of the daemon;
one on port 22 (by default), and have another listen on port 23 :)

For the one on port 23, just run the daemon sshd with the -p option:

sshd -p 23

Note that this doesn't have to be through inetd.

-Anne

On Tue, Aug 08, 2000 at 05:20:35PM -0400, Brian Schramm wrote:
> Is there a way to have ssh monitor 2 ports?  I would like it to monitor
> the normal port and also the telnet port.  That way there is no way anyone
> could come into my system on telnet, they would be forced to use ssh.
> 
> Thanks
> 
> Brian Schramm
> [EMAIL PROTECTED]
> www.linuxexpert.org
> 
>                
> 
-------------------------------------------------------------------------
Anne Carasik                      | Economists state their GNP growth 
Principal Consultant              | projections to the nearest tenth of 
SSH Communications Security, Inc. | a percentage point to prove they have 
Email: [EMAIL PROTECTED]               | a sense of humor. -Edgar R. Fiedler
-------------------------------------------------------------------------
Unless stated otherwise above, the opinions expressed herein are my own, 
                            not of my employer.

Reply via email to