Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use two ssh ports at the same time' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use two ssh ports at the same time
Authored by: turtle777 on Nov 24, '04 11:39:00PM

Ok, I got it finally working:

1) added line in /etc/services
sshd 81/udp
sshd 81/tcp

2) added /etc/xinetd.d/sshd (modified copy from ssh)
service ssh
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/libexec/sshd-keygen-wrapper
server_arg = -p 81
port = 81
type = unlisted
groups = yes
flags = REUSE IPv6
session_create = yes
}

3) added line in /etc/sshd_config
Port 81

4) restart daemon
sudo killall -HUP xinetd

Hope that helps.

-t



[ Reply to This | # ]
Use two ssh ports at the same time
Authored by: wsdr on Nov 10, '06 07:29:11AM

Ooops, typo. In this:

2) added /etc/xinetd.d/sshd (modified copy from ssh)
service ssh
{
disable = no
socket_type = stream



Change "service ssh" to "service sshd"



[ Reply to This | # ]