Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Given Ubuntu 12.10 running in VirtualBox on a Windows 7 host, is there a way to set up a terminal such that the terminal is running on Windows but connects to Ubuntu by telnet/SSH/whatever?

share|improve this question
up vote 1 down vote accepted

Download Putty, it's a client which handles ssh/telnet/whatewer:) and try to connect to your ubuntu ip address with ssh on port 22.

If that won't work install sshd server on ubuntu (in console): apt-get install openssh-server

And try putty again.

share|improve this answer
Okay I've installed Putty and openssh-server and rebooted the virtual machine, ifconfig says inet addr: and I'm trying to connect to that with SSH on port 22, but the connection times out. What am I missing? – rwallace Dec 3 '12 at 0:32
Check if sshd is running ps aux | grep ssh, if it's listening on port 22 netstat -l -n -p | grep ssh and if there are some firewall rules iptables -L -n. – week Dec 3 '12 at 0:58
It seems sshd is running, there are no firewall rules, and the netstat output contains lines with and :::22 before the word LISTEN, so that all checks out? – rwallace Dec 3 '12 at 1:25
Is ping responding ok? – week Dec 3 '12 at 1:26
No, ping from Windows times out. – rwallace Dec 3 '12 at 1:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .