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
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
Interesting content video ❤ But I have a question: Can I use many servers as virtual machines in virtualbox because I have to do do home work about configuration network of many virtual machines but I don't have enough space to achieve that, my teacher told me that I can work with servers but I really don't know how i can give to the server a MAC Address, ...?
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
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 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'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.
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 👍🏻
Excellent video. However, I'm on Windows 11. During my Ubuntu 24.04 LTS live server setup, I selected OpenSSH and imported keys from my Github account. After installing everything, on the win side in a Powershell, I ran ssh-add with my github identity (and verified it working with github). I cannot ssh into the running ubuntu vm via either user@localhost or user@test, test was the server name I gave to the vm during the install. I also tried the install without importing my github public key, so that authorized keys was empty. I ran ssh-keygen on the win side to create a new key without a passphrase and used that as my identity. Still no luck. Do you have explicit instructions for windows as well?
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
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!
Great video Tony! I did not know about that headless mode and the port forwarding! Nice!
Glad to help!
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
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 is exactly what I was looking for, good job man
this tutorial was a real pleasure to watch lol
Good tip on port forwarding setting on the VM itself.
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
Helpful tutorial tony, i have been looking for exact same thing for few days, you did save my time
Glad it helped
Thankyou. Best tutorial I have found. I intend to run a plex server on Ubuntu. Just trying it out locally first.
Hi Tony, great tutorial! Thanks!
👍🏼 Good job and many thanks. From Jack in Taiwan,
Thank you too!
Interesting content video ❤ But I have a question: Can I use many servers as virtual machines in virtualbox because I have to do do home work about configuration network of many virtual machines but I don't have enough space to achieve that, my teacher told me that I can work with servers but I really don't know how i can give to the server a MAC Address, ...?
I love absolutely it! Thanks Tony!!! Also can you make a tutorial on Cloudflare's email routing to send and receive emails?
Thank you, good tutorial easy to follow. liked
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.
so good and useful
Brief but useful!
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?
If u get premission denied switch your network adapter to bridged adapter and then u can connect to it by ip via ssh
how did you fix the ssh connection error?
did you delete the known_hosts file?
I followed your precise, but when it asked for my password on my terminal, it said this Permission denied; please try again
Great tutorial! thanks a lot!!!!!!!!!!
You're welcome!
Maaaaannnnnnn!!! you save me!!! So many thanks!
You're welcome!
but how to set my own resolution (1920x1080)? It's not so convenient to work in 800x600
What are your thoughts on InMotion Hosting ?
Hello, can you tell me how to make outside ssh connect to this virtual server ?
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
Try login to server trough Putty and got: "No supported authentication methods available (server sent: publickey)"
Thank you. I had this problem of localhost ssh
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
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 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.
Thank you for this video
if you stil get connection refused message check your windows firewall settings or another app that using port 22. For me it was xamp
well done there my friend. is there any significant difference with virt manager?
How to utilize that 11.5 gb free space
Bravo tony
Well Done Boss
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 :)
Thank you 😊
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 👍🏻
great stuff
thks☺
Excellent video. However, I'm on Windows 11. During my Ubuntu 24.04 LTS live server setup, I selected OpenSSH and imported keys from my Github account. After installing everything, on the win side in a Powershell, I ran ssh-add with my github identity (and verified it working with github). I cannot ssh into the running ubuntu vm via either user@localhost or user@test, test was the server name I gave to the vm during the install. I also tried the install without importing my github public key, so that authorized keys was empty. I ran ssh-keygen on the win side to create a new key without a passphrase and used that as my identity. Still no luck. Do you have explicit instructions for windows as well?
can u also teach us how to point A Record of domain to that ubuntu server?
Check this out ruclips.net/video/QcNBLSSn8Vg/видео.html
I'm getting "Permission denied, please try again"
Please provide solution
Thanks
thanks dear
3:45 personal link
Thank you
The volume is not coming out... I can't hear anything... I'm I the only one ?
Are you on an intel mac in 2023?
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.
permission denied even i followed the steps
THAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANKS
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.
daşşağını yerim beni büyük bir dertten kurtardın
Thanks
Welcome