How to Run an Ubuntu Server VM with VirtualBox (and login via SSH)
Learn how to install and run an Ubuntu server VM (virtual machine) in VirtualBox. Also we will learn to login to the VM via SSH in headless mode. This tutorial will work on any computer (Mac, Windows, Linux) with sufficient systems resources.
Find more at https://tonyteaches.tech
Check out my vlog channel @TonyFlorida
by Tony Teaches Tech
linux web server
Thank you, good tutorial easy to follow. liked
I figured out everything except when I go to ssh into the server from my Ubuntu desktop I get Permission denied, please try again. That I have not figured out yet.
i keep getting this error……………………vagrant@localhost: Permission denied (publickey).
how do i go about it?
Well Done Boss
Is there any way to access that VM from another machine ?
if you stil get connection refused message check your windows firewall settings or another app that using port 22. For me it was xamp
Thankyou. Best tutorial I have found. I intend to run a plex server on Ubuntu. Just trying it out locally first.
but how to set my own resolution (1920×1080)? It's not so convenient to work in 800×600
Thank you 😊
Thanks
Great tutorial! thanks a lot!!!!!!!!!!
I need to to this on proxmox. Hmm. Port forwarding?
I followed your process but when it asked me for my password I got this Permission denied, please try again
I followed your precise, but when it asked for my password on my terminal, it said this Permission denied; please try again
can u also teach us how to point A Record of domain to that ubuntu server?
still cannot login using ssh, may you show your /etc/hosts sir ?
1 name = jammy
2 server name = jellyfish
3 username = jammy
4 password = jammy
ssh jammy@jellyfish
Permission denied, please try again.
how did you fix the ssh connection error?
did you delete the known_hosts file?
This is exactly what I was looking for, good job man
and how can i make it so I can connect to it from my notebook which connected via wifi to the same network in which pc with virutal machine is?
Thank you for this video
Thanks
THAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANKS
Maaaaannnnnnn!!! you save me!!! So many thanks!
Are you on an intel mac in 2023?
daşşağını yerim beni büyük bir dertten kurtardın
minute 5.45 I have Cancel update and Reboot instead of Reboot now. When I choose that, it enters in "Rebooting" infinitly. Any idea to solve it ?
👍🏼 Good job and many thanks. From Jack in Taiwan,
Great video Tony! I did not know about that headless mode and the port forwarding! Nice!
Thank you. I had this problem of localhost ssh
thks☺
I need something similar my friend using oracle-Ubuntu to make a private vpn please ill pay you for your time thanks with Putty too
Hi Tony, great tutorial! Thanks!
I have the problem that I followed all the steps in the video, but when I try to connect via ssh I get the error ssh: connect to host localhost port 22: Connection refused. I configured the network part the same with port 22
Bravo tony
well done there my friend. is there any significant difference with virt manager?
this tutorial was a real pleasure to watch lol
Thank you so much for this clear and easy-to-follow video! I followed your installation steps and successfully forwarded the guest port 22 to another port on host
Try login to server trough Putty and got: "No supported authentication methods available (server sent: publickey)"
I've always wondered how people run virtual servers on their Windows laptops using VirtualBox. However, when I tried the same, I ended up with the Ubuntu GUI interface. Today, I found out that I should have chosen the Ubuntu Server version instead of Ubuntu Desktop.
😂 How foolish of me. Thanks, mate.
Hello, can you tell me how to make outside ssh connect to this virtual server ?