Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a hung crosh terminal. I was in a ssh session and the wireless connection dropped. The screen froze. Normally, I open an other one, ssh into the remote machine again, and kill the sshd, and that clears it. However, the sshd on the remote machine closed itself overnight and now the crosh terminal is hung, thinking it's still connected.

What's the best way to kill the crosh terminal? Is there a magic key combo?

Sidenote: Couldn't create tags for crosh, chromeos

Note that I am not using the machine in developer mode.

share|improve this question

4 Answers 4

If you're in developer mode, you can open a shell and kill the ssh process.

kill `ps -u chronos | grep ssh | cut --characters=1-6`

(Assuming you only have 1 ssh session open)

This is nicer than closing the window if you're using panelize and want to keep a shell panel open.

share|improve this answer

It looks like Chrome OS does use OpenSSH: Chrome OS git /openssh

I think the Chrome OS ssh config file path is ~/ssh/.config

share|improve this answer
1  
Damn, it looks like they disabled this option of OpenSSH by putting -e none in the crosh binary: codereview.chromium.org/5183004 –  entropo Apr 5 '11 at 17:31

The real answer: ctrl+shift+w

This is the hotkey to close a window, generally, and it is the official workaround for this issue.

Reference: http://code.google.com/p/chromium-os/issues/detail?id=10023#c17

share|improve this answer

At the time that I wrote this answer, this was the answer. It has since been rectified.

I think the official answer is sadly to log out and then log back in. It works every time!!! Another method that I use is to just ignore it and open another terminal until ssh finally realizes that it is hosed and will go back to the ssh prompt.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.