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

[cobalt-security] ssh question



Hi,

A while ago it was recommended by some members of this list a good way
to have a "backdoor" into the Qube is to have a standalone sshd and
start one in inetd running on an odd port (for example 22222).

I tried to do that, I added this line to /etc/services:
sshback         22222/tcp        sshdback        # SSH Back Door

This line to /etc/inetd.conf:
sshback stream tcp     nowait  root    /usr/local/sbin/sshd -i -f
/etc/sshd/sshd_config_inetd

And the only notable change to /etc/sshd/sshd_config_inetd was to change

the listen port to 22222

Now the problem / question:  I restarted inetd and everything was fine,
I made a change to the configuration file and restarted inetd -- that
was the last time I could get in on that port.  Here is the error:

Jan 10 16:10:22 qube -i[7362]: error: bind: Address already in use
Jan 10 16:10:22 qube -i[7362]: fatal: Bind to port 22222 failed: Socket
is not connected.

Any help would be appreciated.

Thanks.


--John




--
John Anderson
janderson@xxxxxxxxx
Ceeva, Inc.