On 12-Feb-99 Auteria Wally Winzer Jr. wrote:
> How do you set up ssh to run via inetd on a separate port?

Run sshd from inetd with a -i switch...
In /etc/services place a line like this:

newssh          2222/tcp

In inetd.conf put something like this:

newssh  stream  tcp     nowait  root    /path/to/sshd  sshd -i

Restart inetd

---
Pedro Melo                      [EMAIL PROTECTED]
IP - Engenharia                 http://ip.pt/
Tel: +351-1-3166740             Av. Duque de Avila, 23
Fax: +351-1-3166701             1049-071 LISBOA - PORTUGAL
Linux: up 22 days and 10:48, 6 users,  load average: 0.19, 0.53, 0.52

Reply via email to