Operating System - HP-UX
1753424 Members
5100 Online
108793 Solutions
New Discussion юеВ

Re: Can't kill a telnet session

 
SOLVED
Go to solution
jackie baron_1
Regular Advisor

Can't kill a telnet session

I am logged in as root on a machine and I have tried to telnet to localhost. Now I just keep getting login: and password: but whatever I type in it just keeps prompting me for a login and passwd. I can't login to this machine from anywhere else. I need to get out of this login and password loop and back to the machine as root....and it's the only connection I have with the machine. Ctrl-C doesn't work. Is there some other special key sequence that will kill this?

5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Can't kill a telnet session

Shalom,

Log on as root, identify the process id.

ps -ef | grep telnetd

kill

if that does not work.

kill -9

If that does not work, reboot.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
sujit kumar singh
Honored Contributor

Re: Can't kill a telnet session

hi

can see by trying CTRL+[


csn see by identifying and killing the root login session if any importnat program are not being run by that console.

regards
Sujit
sujit kumar singh
Honored Contributor
Solution

Re: Can't kill a telnet session

hi

one correction please note

can see by trying ^+[



regards
Sujit
jackie baron_1
Regular Advisor

Re: Can't kill a telnet session

Yep,

ctrl ] did it.
Got me out to a telnet> prompt then I just exited
Steven Schweda
Honored Contributor

Re: Can't kill a telnet session

"man telnet". Look for "escape character".

> can see by trying CTRL+[

> can see by trying ^+[

Those were close.

If you can get to a "telnet>" prompt, try
"quit".