How to SSH into VirtualBox machine

Поділитися
Вставка
  • Опубліковано 28 чер 2024
  • Learn how to SSH into a VirtualBox guest machine from a local host computer as well as from another computer.
    Text version: averagelinuxuser.com/ssh-into...
    ################################################
    My Linux PC: averagelinuxuser.com/linux_pc...
    My other hardware: www.amazon.com/shop/averageli...
    Support the project:
    Patreon: / averagelinuxuser
    Buy Me a Coffee: www.buymeacoffee.com/avglinux...
    Buy Linux Laptop: starlabs.systems/?rfsn=472898...
    Shop on Amazon: www.amazon.com/shop/averageli...
    BTC: 1CfCLTYCqqDfYbngcvQtEav3n7SMZihfSS
    ###############################################
    Website: averagelinuxuser.com/
    LBRY.tv: lbry.tv/$/invite/@AVGLinux:2
    Facebook: / averagelinuxuser
    Twitter: / avglinuxuser
    ################################################
    Timecodes:
    0:00 Intro
    0:24 Install SSH in VirtualBox OS
    1:15 Open SSH port in Firewall
    2:07 VirtualBox network settings
    2:57 Install SSH client
    3:26 Connect to VirtualBox from the guest OS
    4:27 Configure VirtualBox for access from another computer
    5:44 SSH to VirtualBox from another computer
    6:16 Configure your router
    7:11 SSH security
    Tags: #VirtualBox #SSH #Linux

КОМЕНТАРІ • 60

  • @AverageLinuxUser
    @AverageLinuxUser  2 роки тому +4

    Text version: averagelinuxuser.com/ssh-into-virtualbox/

  • @POINTS2
    @POINTS2 2 роки тому +9

    Thanks for showing how to do SSH both with NAT and a bridged apdapter

  • @DeLewrh
    @DeLewrh 2 роки тому +3

    I'm so glad that you're back

  • @anand_maurya
    @anand_maurya 2 роки тому +7

    Great tutorial. Easy to follow. Thank you very much.

  • @alokravinderprabhakar3666
    @alokravinderprabhakar3666 2 роки тому

    Very helpful and easy to follow. Please sharing such easy to understand videos. Cheers!!

  • @mattinuk
    @mattinuk 2 роки тому +1

    Good video. Thank you for talking about the various setups

  • @hizokadarkwolf
    @hizokadarkwolf 3 місяці тому

    THANK YOU. Finally, an updated tutorial that works. I am setting up a Hadoop cluster with VMs, which did not connect. I just wanted to let you know that now it works. I need to gift you a coffee, sir.

  • @Pamzol
    @Pamzol Рік тому +2

    Thank you, you helped me a lot. In my case it was just a matter of changing NAT to Bridged Adapter but I wouldn't figure it out without your help :)

  • @CalebHawn
    @CalebHawn Рік тому

    Thanks for this! All I really needed know was how to port forward on VirtualBox, so thanks so much for this.

  • @T3tu21
    @T3tu21 8 місяців тому

    I have spent the whole day trying to solve this thank you so much just subscribed with one video which is rare for me

  • @MarkACohen
    @MarkACohen Рік тому

    EXCELLENT!!! Thank you! I didn't realize I had to create a bridged interface on my VM.

  • @puneethtitan
    @puneethtitan Рік тому

    this is a very detailed video. thankyou bro. saved me so much time

  • @machman23
    @machman23 Рік тому

    Very well explained and demonstrated .. Thankyou

  • @ashwinreddy2866
    @ashwinreddy2866 2 місяці тому

    I was looking for this info, thanks for sharing.

  • @elielberra2867
    @elielberra2867 Місяць тому

    This explanation was super clear! Thank you!

  • @illbet4589
    @illbet4589 Рік тому

    just the video I needed ! Thank you

  • @vp9878
    @vp9878 6 місяців тому

    Чудовий урок. Швидко, зрозуміло, структуровано. ДЯКУЮ!

  • @thomrl
    @thomrl Рік тому

    Thanks for the help! Worked perfectly

  • @nageshavulamanda2850
    @nageshavulamanda2850 Рік тому

    Good Tutorial, I want to connect my virtualbox from my pc, for the past 15 days. But it's not worked, after i watch your tutorial, it worked. thanks man........... Great Tutorial.........

  • @ranjanadissanayaka5390
    @ranjanadissanayaka5390 Рік тому

    this tutorial is so awesome... I connected to my Kali-linux VM using my host OS. I use a MacOS and UTM. Thanks som much.😀

  • @leonardobrugnano5474
    @leonardobrugnano5474 4 місяці тому

    Very useful tutorial. I have UTM instead of VirtualBox, still it worked just fine. Thank you.

  • @music___nation
    @music___nation 18 днів тому

    Now this is how you make a video... Awesome Job.

  • @marcofloriano
    @marcofloriano Рік тому

    Amazing, saved me tons of time, thanks, really

  • @none23517
    @none23517 Рік тому

    worked immediately. thanks a lot

  • @dawid-bobowski
    @dawid-bobowski 11 місяців тому

    Thank you for the video!

  • @whattheydoexactly7794
    @whattheydoexactly7794 7 місяців тому

    worked like a charmed

  • @KR-tf1hc
    @KR-tf1hc Рік тому

    Дякую друже, дуже допомогло мені з моєю проблемою.

  • @JJY888
    @JJY888 5 місяців тому

    Thank you, Brother!

  • @kauapozzi8629
    @kauapozzi8629 9 місяців тому

    Solved My Problem brother! thanks a lot

  • @3thome
    @3thome 3 місяці тому

    many thanks you save my day

  • @TheONEHD1762
    @TheONEHD1762 11 місяців тому

    truly nice video. thanks

  • @GerardoGonzalez-re3ub
    @GerardoGonzalez-re3ub 4 місяці тому

    Awesome job

  • @trido3815
    @trido3815 2 місяці тому

    Excellent! Thanks.

  • @nejom1er
    @nejom1er Рік тому

    So usefull ! Thank you very much

  • @muhdbunahmad
    @muhdbunahmad 2 роки тому

    Very useful. Thumbs up.

  • @linhdang6713
    @linhdang6713 11 місяців тому

    awesome video!

  • @pokelaboratory
    @pokelaboratory Рік тому

    Thank you very much!

  • @farzanezaghian95
    @farzanezaghian95 2 місяці тому

    Thanks a million

  • @MaxReisbr1
    @MaxReisbr1 5 місяців тому

    thank you very much

  • @aerciopaulo
    @aerciopaulo Рік тому

    Great tutorial man. Very good.
    I have a question.
    How can i see and then change the ssh port ?

  • @danielmilewski7659
    @danielmilewski7659 6 місяців тому

    thank you!

  • @boristozharov5237
    @boristozharov5237 Рік тому

    And how to interact if we use VmWare workstation ? I mean could I do the same with this ports and use cmd for example not PuTTY or other client ?!

  • @fendyfelani3714
    @fendyfelani3714 3 місяці тому

    hi.. what password that you typed at 06:10? I typed my Linux password but it says access denied.. please advise

  • @pvnr5930
    @pvnr5930 2 роки тому

    Good Morning sir.. I have installed Ubuntu.22.04LTS along side my
    windows7. when I wish to install ubuntu-resticted-extas in terminal it
    says UNABLE TO LOCATE PACKAGE.. Please guide me..

  • @akhilchouhan6869
    @akhilchouhan6869 3 місяці тому

    hey So i created this VM using commandline using VBoxManage createvm and import commands now I used bridged network for virtual networking, now after this gets created i dont have the ip address of this vm, how can i know the ip address so that i can ssh into it, can I make VBoxManage import command return ip address in some way? i want to automate this process of creating the vm using a script

  • @bijayaninayak1238
    @bijayaninayak1238 Рік тому

    How can I do this between two virtual machines?

  • @architkumar1265
    @architkumar1265 Рік тому

    At 4:15 I'm not able to connect the VM to my Host machine. The error is :- "ssh: connect to host localhost port 2222: Connection refused" Does this mean that I have to disable my firewall from my Host machine ????

    • @168Crankk
      @168Crankk 7 місяців тому

      i have had the same problem, my solution was to shutdown(not onlyy restart) the vm and try it again then it worked

  • @L-73580
    @L-73580 2 роки тому

    hey there, may I ask what country you're from? I like your eastern European accent very much)

    • @AverageLinuxUser
      @AverageLinuxUser  2 роки тому +1

      Ukraine 🇺🇦

    • @L-73580
      @L-73580 2 роки тому

      @@AverageLinuxUser man stay safe! wish you the best in your life

    • @JohnDoe-yx4hi
      @JohnDoe-yx4hi 2 роки тому

      @@L-73580 He's living in Malmö, though, I think. Still, that's not the safest of places 🤣

  • @pete7938
    @pete7938 3 місяці тому

  • @alwaysxl
    @alwaysxl 7 місяців тому

    thank you so much god bless ukraine

  • @kingsleychiakwa5025
    @kingsleychiakwa5025 8 місяців тому

    I keep getting my username is not in the sudoers. This incident will be reported

  • @abcw
    @abcw 2 роки тому

    windows 10 already has a built in ssh-client ua-cam.com/video/rhFLfwZzlGA/v-deo.html

  • @AxelWerner
    @AxelWerner 2 роки тому

    This video contains Too much unvalidated assumptions.

  • @genkiferal7178
    @genkiferal7178 Рік тому

    Please consider uploading and using youtube alternatives that are not publicly-traded.
    globalwalkout