Putty on Virtual Box Ubuntu












-1















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
















-1















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














-1












-1








-1








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














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.







command-line putty






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 28 '12 at 20:26









brandonbrandon

111




111













  • 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



















  • 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

















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







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





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





@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










1 Answer
1






active

oldest

votes


















0














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























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f157318%2fputty-on-virtual-box-ubuntu%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    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




























      0














      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


























        0












        0








        0







        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













        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












        share|improve this answer



        share|improve this answer










        answered Jul 28 '12 at 4:43









        LiveWireBTLiveWireBT

        21.4k1872154




        21.4k1872154






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f157318%2fputty-on-virtual-box-ubuntu%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido