Can't access remote machine anymore
Phil Buckley
phil at 1918.com
Thu Mar 8 16:45:15 EST 2001
Well...
I am finally getting around to implementing this solution which sounded excellent as I drove 45 minutes that evening.
Just wanted to check my syntax before I screw everything up ;-)
below are changes to inetd.conf
# Modified for RHS Linux by Marc Ewing <marc at redhat.com>
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#ADD SSHD ON NEW AND EXCITING PORT
ssh stream tcp nowait root /usr/local/sbin/sshd -p2222
then to /etc/services I'm ready to add...
ssh 2222/tcp # SSH Remote Login Protocol from inetd
Will that work???
Thanks in advance,
Phil
*********** REPLY SEPARATOR ***********
On 2/6/2001 at 9:14 AM Sheldon Dubrowin wrote:
>Maybe SSHD stopped running. I was at SANS last week and they recomended
>running an SSHD on the "regular" port, port 22, but also putting SSHD in
>inetd.conf on some other port in case the "regular" SSHD fails, inetd.conf
>will start one up for you. It is not usually run from inetd because it can
>take a few seconds to start the daemon and that is usually unacceptable,
>but
>in this type of emergency type case, where you would have to drive to the
>machine, it is better than nothing. ;-) Hope this helps you Phil.
>
> Shel
>
>On Tue, Feb 06, 2001 at 08:58:18AM -0500, Phil Buckley wrote:
>> Anyone have any ideas why I can't get to a machine today, that I could
>get to yesterday?
>>
>> I administer a machine remotely for a friend of mine (RH6.2). I check in
>on it each morning via ssh. Everything has been fine for the past few
>months, but then this morning - "Unable to connect"
>>
>> I can still pick up mail on it, and ftp is available, and apache is up
>and running...
>>
>> Any ideas?
>>
>> Phil Buckley
>>
>> -
>> Subcription/unsubscription/info requests: send e-mail with
>> "subscribe", "unsubscribe", or "info" on the first line of the
>> message body to discuss-request at blu.org (Subject line is ignored).
>
>--
>-----------------------------------------------------------------------
> ,-~~-.___. ._.
> / | ' \ | |"""""""""| Sheldon M. Dubrowin
>( ) 0 | | |
> \_/-, ,----' | | |
> ==== !_!--v---v--"
> / \-'~; |""""""""| dubrowin at yahoo.com
> / __/~| ._-""|| | www.shelnet.org
> =( _____|_|____||________|
>-----------------------------------------------------------------------
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).
More information about the Discuss
mailing list