[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSH on two ports



On Sat, Jan 14, 2006 at 01:58:55PM +0100, Michael Przysucha wrote:
> Hello,
> 
> I want to use ssh on two ports, 22 (standart) and 666. Can anybody tell how to configure it? My first thought was to 
> simply add the second port nubmer in the configuration but did not work. Second was to set up iptables route the port 
> but seems to be a bit to oversized!?

I use this in my /etc/ssh/sshd_config:

ListenAddress 10.0.1.1:22
ListenAddress vvv.xxx.yyy.zzz:22666

And no Port-directive at all.

> Does anyone hay an idea how to solve the problem?
> 
> 
> Regards,
> Michael Przysucha
> (NDS, Germany)

HTH,
Simo
-- 
:r ~/.signature

Attachment: signature.asc
Description: Digital signature


Reply to: