Non-forking sshd?
From: Jan Kokoska (kokoska.jan_at_globe.cz)
Date: 12/15/03
- Previous message: Ashish Kumar: "Porting SSH (VxWorks)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: secureshell@securityfocus.com Date: Mon, 15 Dec 2003 15:14:56 +0100
Hello,
I am looking for a suggestion regarding my desired use of sshd:
Some of the situations I would like to use ssh to connect to a remote
server are when the system is in faulty state, unable to fork more
processes. Ssh is the only means of actualy fixing it, instead of
rebooting it, and I am curious if there's any suggested way to get
around this?
Even if i had a non-forking sshd in debug mode running on some esotheric
port accepting only root key, not password (as the sshd:22 in my setup
does anyway), for one-time sysadmin use, it couldn't fork a process to
run /bin/bash.
Do you think it would be reasonable to try and hack the source in
attempt to prefork bash? (Could be a quick and dirty fix, not assuming
any other user than root, hence no problems with suid).
Or is there some other known way you suggest instead?
Please CC me on reply as I'm not subscribed.
Thanks for your brain cycles :-)
Regards,
-- Jan Kokoska - Programator IT aplikaci ========================= kokoska.jan@globe.cz Mobil: +420 728 286 070 ICQ: 85 53 59 04 ========================= Globe Internet, s.r.o. - http://globe.cz Planickova 1, 162 00 Praha 6 - http://mapa.globe.cz
- Previous message: Ashish Kumar: "Porting SSH (VxWorks)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|