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
@@TonyTeachesTech Could you teach how to install a web server on the ubuntu and have access to it anywhere in the world... just like using Vultr but instead doing it locally
you literally just saved my day. I've been using the IP addr of the VM rather than localhost. thanks. Is there a way I can use the VM IP rather than localhost?
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.
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
It sounds like you’re trying to start the SSH service but encountering an issue where sshd.service cannot be found. Here are a few steps you can try to resolve this: Check the Service Name: Sometimes, the service might be named ssh instead of sshd. You can check for available services with: systemctl -l --type service --all | grep ssh If you find a service named ssh, try starting it with: sudo systemctl start ssh Install OpenSSH Server: If the service is not installed, you can install it using: sudo apt-get update sudo apt-get install openssh-server Enable and Start the Service: Once installed, enable and start the service with: sudo systemctl enable ssh sudo systemctl start ssh Check Service Status: Verify the status of the service to ensure it’s running: systemctl status ssh If these steps don’t resolve the issue, you might need to reinstall the OpenSSH server: sudo apt-get remove --purge openssh-server sudo apt-get update sudo apt-get install openssh-server
I keep getting connection timed out, when trying to connect to my virtual ubuntu server from Powershell. Any suggestions?? I do have ssh enabled on my Windows computer. I was able to connecto my linux ubuntu home server but for some reason I'm not able to connect to my Ubuntu VM Server.
Good Day Tony, I need your assistance please. Is it possible for me to install aapanel on Ubuntu running on a VitualBox...? If yes I will need to guide me thru the processing like what and what will like again because I have installed Ubuntu on VirtualBox thanks
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.
Using the SSH key of the VM or the IP adress. Accesssing it from another machine is pretty much the whole point of the system. Managing a server remotely 👍🏻
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.
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
Good tip on port forwarding setting on the VM itself.
Thankyou. Best tutorial I have found. I intend to run a plex server on Ubuntu. Just trying it out locally first.
You're the best bro, you make really focused and accurate content without any other extra stuff, keep the good work up
I appreciate that!
I followed your process but when it asked me for my password I got this Permission denied, please try again
i used host port 2222 in vm settings
then ssh -p 2222 user@localhost
The error is probably in the host name, I had the same problem but you have to make sure it's the same host and not the machine name
This is exactly what I was looking for, good job man
Great video Tony! I did not know about that headless mode and the port forwarding! Nice!
Glad to help!
Your tutorials are so well paced and edited. Really learning from your videos.
Awesome, thank you!
@@TonyTeachesTech Could you teach how to install a web server on the ubuntu and have access to it anywhere in the world... just like using Vultr but instead doing it locally
this tutorial was a real pleasure to watch lol
Helpful tutorial tony, i have been looking for exact same thing for few days, you did save my time
Glad it helped
Thank you, good tutorial easy to follow. liked
👍🏼 Good job and many thanks. From Jack in Taiwan,
Thank you too!
Hi Tony, great tutorial! Thanks!
Thank you. I had this problem of localhost ssh
I love absolutely it! Thanks Tony!!! Also can you make a tutorial on Cloudflare's email routing to send and receive emails?
Bravo tony
If u get premission denied switch your network adapter to bridged adapter and then u can connect to it by ip via ssh
Maaaaannnnnnn!!! you save me!!! So many thanks!
You're welcome!
Well Done Boss
you literally just saved my day. I've been using the IP addr of the VM rather than localhost. thanks. Is there a way I can use the VM IP rather than localhost?
Great tutorial! thanks a lot!!!!!!!!!!
You're welcome!
thks☺
Thank you for this video
thanks dear
Thank you
Thank you 😊
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.
Sure thing :)
great stuff
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
Same error. Anyone fix it?
For those of you who cannot connect via SSH even after portforwarding, just change the HOST PORT to anything other than 22. It should work.
For those of you who cannot connect via SSH even after portforwarding, just change the HOST PORT to anything other than 22. It should work.
It sounds like you’re trying to start the SSH service but encountering an issue where sshd.service cannot be found. Here are a few steps you can try to resolve this:
Check the Service Name: Sometimes, the service might be named ssh instead of sshd. You can check for available services with:
systemctl -l --type service --all | grep ssh
If you find a service named ssh, try starting it with:
sudo systemctl start ssh
Install OpenSSH Server: If the service is not installed, you can install it using:
sudo apt-get update
sudo apt-get install openssh-server
Enable and Start the Service: Once installed, enable and start the service with:
sudo systemctl enable ssh
sudo systemctl start ssh
Check Service Status: Verify the status of the service to ensure it’s running:
systemctl status ssh
If these steps don’t resolve the issue, you might need to reinstall the OpenSSH server:
sudo apt-get remove --purge openssh-server
sudo apt-get update
sudo apt-get install openssh-server
What are your thoughts on InMotion Hosting ?
Thanks
well done there my friend. is there any significant difference with virt manager?
how did you fix the ssh connection error?
did you delete the known_hosts file?
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?
Hello, can you tell me how to make outside ssh connect to this virtual server ?
I keep getting connection timed out, when trying to connect to my virtual ubuntu server from Powershell. Any suggestions?? I do have ssh enabled on my Windows computer. I was able to connecto my linux ubuntu home server but for some reason I'm not able to connect to my Ubuntu VM Server.
if you stil get connection refused message check your windows firewall settings or another app that using port 22. For me it was xamp
Good Day Tony,
I need your assistance please. Is it possible for me to install aapanel on Ubuntu running on a VitualBox...? If yes I will need to guide me thru the processing like what and what will like again because I have installed Ubuntu on VirtualBox thanks
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?
Check this out ua-cam.com/video/QcNBLSSn8Vg/v-deo.html
but how to set my own resolution (1920x1080)? It's not so convenient to work in 800x600
THAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANKS
3:45 personal link
Try login to server trough Putty and got: "No supported authentication methods available (server sent: publickey)"
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 ?
I also get same thing
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.
Is there any way to access that VM from another machine ?
Using the SSH key of the VM or the IP adress. Accesssing it from another machine is pretty much the whole point of the system. Managing a server remotely 👍🏻
I'm getting "Permission denied, please try again"
Please provide solution
The volume is not coming out... I can't hear anything... I'm I the only one ?
For those of you who cannot connect via SSH even after portforwarding, just change the HOST PORT to anything other than 22. It should work.
Are you on an intel mac in 2023?
daşşağını yerim beni büyük bir dertten kurtardın
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.
ssh jammy@localhost
Permission denied, please try again.
Thanks
Welcome