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.

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
add comment

1 Answer

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:10.0.2.15 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 0.0.0.0:22 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 10.0.2.15 from Windows times out. –  rwallace Dec 3 '12 at 1:35
show 7 more comments

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.