Koozali.org: home of the SME Server

SSH on port 23

Patrick Dersjant

SSH on port 23
« on: January 11, 2002, 09:35:52 PM »
Hello,

as I would like to have ssh access to my machine, but cannot connect on port 23 due to firewall restrictions at my work place, I'd like to configure my SME to listen both on port 22 and 23 for incoming ssh connections. Can anybody point me towards files that need changes for this? I've checked the ipmasq and ipchains scripts in /etc/rc.d/init.d but can't seem to find any clue on what to do.

Thanks in advance

Patrick

Grub

Re: SSH on port 23
« Reply #1 on: January 12, 2002, 05:22:33 AM »
yes... in /etc/ssh/sshd_config. add the two ports there.

Patrick Dersjant

Re: SSH on port 23
« Reply #2 on: January 12, 2002, 04:44:44 PM »
Thanks. This allows private access on both ports, however, I still can't connect to the machine from outside (=public access) on 23. I assume this is due to ipchains not allowing connections on that port. at least, ipchains -L doesn't list port 23 as accepted. I've tried to read /etc/rc.d/init.d/ipchains, but it only appears to load /etc/sysconfig/ipchains, which on my system doesn't exist. Anything I'm missing here - there must be a place somewhere where I can find & amend the firewall rules, or am I totally wrong?

Grub

Re: SSH on port 23
« Reply #3 on: January 13, 2002, 05:08:44 AM »
look at /etc/hosts.allow