JM, Here's the trick I did when a simillar thing happen to me.
1.Get ur pid: ssh <username>@<remote_host> "ps -ef | grep <your_username>" 2. Kill the pid: ssh <username>@<remote_host> "kill -9 <pid>" 3. ssh as normal to the box and that will work now. the reason the commands above works is because it does not allocate pseudo tty on the remote host. regards, Andre Varon On Fri, 8 Oct 2004 13:15:13 +0800, JM Ibanez <[EMAIL PROTECTED]> wrote: > Okay, I think I did something really stupid-- > > I can't log in to one of my linux boxen (running FC 3), either on the > local console or via ssh. When ssh-ing, I get "Server refused to > allocate pty". I have a screen session still running on the box (IIRC, > 5 windows open), and the last time around my network link got broken > and my ssh session was cut off (and there may still be a lingering > shell open because of that.) > > So, without having to cycle the box, what can I do to kill off my > screen session and/or login to my box? > > I feel sheepishly stupid... > -- > JM Ibanez -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
