Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How to enable SSH server in Ubuntu 10.10 Desktop Edition recovery mode? My display is not working (broken video card). So how can I do that "blindly"? :)

share|improve this question

2 Answers 2

up vote 6 down vote accepted

If you know what you're typing onto, it's just one simple command, but I'll explain the complete procedure to rule out any and all errors.

  1. Boot up the machine, holding down Shift

  2. When you're sure the grub menu is up, press Down then Return*

  3. Press Down six times to select "Drop to root shell prompt" and hit Return

  4. Carefully type apt-get install openssh-server and hit Return

  5. Carefully type /etc/init.d/ssh start and hit Return to start it without rebooting

The last step may not be required, but it doesn't hurt either.

*: Assuming your second boot entry is the recovery mode of the newest kernel, this may vary if you've manually put a Windows boot entry on top of the list or something like that, I assume you know.

If you decide to try "ssh" instead of "openssh-server", you may have to press "Y" to confirm. However, you don't need to enter the password if you drop to a root shell. After waiting long enough (!), hit Ctrl+C in case you didn't need to put in the "Y" before you continue.

share|improve this answer
1  
Stefano Palazzo, You were right, all your instructions were correct. I've logged in from remote computer to a Ubuntu 10.10 :) How nice is that! :) I'm going to have a server - remote controlled laptop with broken video card. That's the reason why everyone should install Ubuntu at least as a second OS. :) –  ViliusK Jan 18 '11 at 19:51
1  
Hey awesome! :-) –  Stefano Palazzo Jan 18 '11 at 20:23

after you log in with a user you can type

$ sudo apt-get install ssh

type your password and enter

try to connect from another PC

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.