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.

I'm trying to get PuTTY working on Ubuntu virtual box but it isn't working. I looked at the other post and it said to switch to bridged adapter which I did, and to no avail did it work. I tried updating the virtual box only driver for windows, but again no solution.

share|improve this question
    
What's the host and what's the guest? and did you install an ssh server on the machine you want to connect to? Neither Windows nor Ubuntu has an ssh server installed by default. –  geirha Jun 28 '12 at 20:34
    
PuTTY is an ssh client. Is there any reason for you to use exactly PuTTY? Ubuntu has numerous other ssh clients. –  rechengehirn Jun 28 '12 at 22:14
    
@rechengehirn He is probably using Windows. Of course, there are ports ofOpenSSH server and client, but PuTTY is the more popular client for Windows, mostly because it provides a sort of user friendly GUI to configure everything necessary. It's just how it turned out to be. –  LiveWireBT Jul 28 '12 at 4:48
add comment

2 Answers 2

Have you considered a remote desktop, it works very nice in VirtualBox and you can use built in Mac or Windows clients to bring the VB Ubuntu to your other desktops.

share|improve this answer
add comment

I'm sorry, your description is so vague that I can only guess what you mean. You have a Windows host with VirtualBox installed and set up a guest machine that is running Ubuntu. You want to connect to that machine from the host via SSH, by using PuTTY, the most popular remote terminal client on Windows. Is that right?

For that to work you need to have the SSH server package installed in the guest system (sudo apt-get install openssh-server). You should also configure the ssh server, so that you know which port to use to connect to the server and which authentication method to use (using you user password is fine as long as you're just trying things out), at least. Second step is to configure port forwarding between host and guest OS. The default network configuration uses NAT, which is - contrary to outdated information - fine, just click port forwarding and set up a rule.

Here is an example for connecting to a webserver running in a virtual machine. I can access the websever in the VM listening at port 80 with a browser from the host system by visiting the address consisting of host IP and host port. Note: I've chosen port 8080 because the host is running a webserver too.

enter image description here

share|improve this answer
add comment

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.