How to enable SSH on Linux Ubuntu (Easy step by step guide)
HTML-код
- Опубликовано: 20 авг 2024
- Install OpenSSH-server on Ubuntu to enable SSH to remotely connect to your Ubuntu computer
✅ Subscribe to help us grow: www.youtube.co...
My Amazon affiliate link:
Amazon best sellers Computers and Accessories: amzn.to/37v1Z7Z
Linux Commands
Ctrl+Alt+T (to Open terminal)
sudo apt update
clear (to clear the screen)
sudo apt install openssh-server
sudo systemctl status ssh
sudo ufw allow ssh
ip a
Windows commands:
ssh user@ipaddress
Follow me on:
My websites:
knowledgeshari...
tripleewebdesi...
Facebook: / knowledgesharingtech
Twitter: / knowledgeshari6
Disclaimer: Use the instructions in this video at your own risk. We are not responsible for any data loss or other damages that may occur
For more tutorials, subscribe to my channel, it really makes a difference 💗: ruclips.net/user/knowledgesharingtech
you need to run "sudo systemctl start ssh, then sudo systemctl enable ssh if the status came back as dead (inactive)
strangely this wasn't mentioned in the tutorial, thank you for adding this note *hugs*
@@JustinEckert-fn4nu your comment helped bre thanks
Thank you very much. This was helpful. Now I don't have to sit on the floor next to my linux station.
You have no idea the miracle you just did...this problem slowed me down when i was learning Ansible...i tried everything..UFW PORT ENABLING just unlocked everything
As an enthusiastic but not overly technical dabbler in Linux, I’d always assumed SSH was way beyond me. But thank you for making it look so simple, simple things but put a smile on my face when I logged into my Ubuntu machine from my UnRAID terminal :-)
Thank you!
Glad to help!
THANK YOU SO MUCH all the other tutorials assumed i have already downloaded it which i thought i had when i installd the kali linux large
Clear, unfussy instructions which worked first time. Thank you very much. Subscribed. 👍
Thanks for the sub!
You Sir are a life saver
Thanks to you I can work on my mariadb server on my main pc
Thank you
You are welcome
This is great tutorial and straight to the point - thank you so much !!!
Welcome
Best guide, pretty straight forward! quality content. thanks
Hey Eloy, thanks for the video, it served as a great refresher. I am not as young as I would like to be, and my memory does not seem to function as it used to. I gave you a like and subscribed. Will join next month, as my finances are limited and fixed (social security). Again, much thanks ;)
Hello and thank you for your message.
Perfect, exactly what I was looking for - thank you!
Does this technique work in NAT? I've noticed that NAT uses different IP address (inet 10.0.2.15/24) while Bridge Adaptor uses 192.168.x.x ip. Also the Ubuntu must be configured to use static IP address. Please comment if this is correct or am I just imagining?
Yes you need to disable DHCP on the network configuration if you want to maintain your IPv4 adress.
Thank you for the tutorial,but I have a problem, when trying the connection it says "permission denied(publickey)"
I am using latest ubuntu server for arm in a Pi4
Thanks for the straightforward video!
You bet!
Excellent. Easy to follow
THANK YOU! Straight to the point
It was fast and wonderful! Thank you
You're welcome!
Excellent clean and to the point.
Glad you liked it
Great tutorial, thank you!
thankyou so very much sir
this was sooooo sooo sooooooo helpful
Thanks for the tutorial.
thanks mate you are the best great video!
Glad it helped
At 00:46, it says, "All commands are in the description." The video description does not contain any commands.
Thank you for noting this. I have added the commands now.
You're a hero, thank you
Welcome!
thank you for sharing
Knowledge
Thank you .. it works
Really useful. Thank you
You are welcome!
thank you very helpful
Thanks a lot for your tutorial. Praise to the Almighty Allah,It's working properly.
Helped alot thanks
Welcome
Thanks for the video..
My pleasure
Thank you 👍🏿
You're welcome
Hey great video i didnt know about the ufw allow ssh, but my question is i use virtual box where every machine's ip is the same as the setting is NAT, what setting should i use for it to work?
That was perfect.
Thanks. Simple and straightforward guide.
hello, how can we use ssh server as vpn in windows? I try by netmod but its nit work,I have centos 8 server .thanks
Hello eloy, half of this video helped me so much with the commands when it comes to ssh for both linux and windows, but I am having some trouble here. So what is the password that we have to put for our ip address? I'm a bit confused
You use an existing user on your Linux machine to connect to it. So it's the password for this user
Thank you
Very good 👍
Good Video, thanks
Thank you.
Welcome
Thank you, Sir, 🙏🌺😇
🙏🌺😇
thank,s Done
❤ thanks i done with your video
Thank you too
mashallah youre the best
Thanks
Helpfull 💓...
Glad to hear that
Hi, do I have to run these two commands after every time I turn on my server?
How can we install ssh server through the installation file (.deb), a my linux is not connected to network so need to install locally? Thanks
I have an old machine i want to use as a private server....yesterday all was working fine....not anymore...even on a fresh setup... searching on google leads to the exact same thing or things who break the entire thing.....
thanks
My pleasure
Thanks you!
Cheers
Thanks much
Welcome
thanks!
What do i do when its inactive(dead)?
Never mind i got ot running (:
not working in mac machine
when both windows and ubuntu are installed on my machine it is working, i am able to connect from my windows machine to my ubuntu machine (where ssh server is installed) , but the same url -when i am trying to connect from diff computer to my ubuntu machine it is saying connection timedout
What are the IPs of the Ubuntu and the remote Win machine?
@@KnowledgeSharingTech ubuntu machines ipaddress is 172.31.62.83 from same windows machine I typed as
"ssh manideepvv@172.31.62.83"
It worked (because in ny same lap windows+ubuntu is installed)
Case 2:- from other windows laptop (192.168.0.110) i was unable to run above ssh command it says timeout
You need to make sure that both networks (172 and 192) can communicate
please i have aproblem when i connect from windows putty to ubuntu server it asked to user name and password i typed
user name : root
passord : *******
i'm sure that password is correct but it answered me that ( access denied )
what shall i do ?
Did you figure out how to get the password? Cause I have the same problem as you.
and how to do the same for windows
which password to put after putting our othrr pc IP is that Laptops password or which???
plz help
yup, your machine's ip
Where did the command prompt came from ?
In Linux: Ctrl+Alt+T
In Windows, type CMD in the search box and hit enter
it is working on only same network.
How to connect from other network????????
It has nothing to do with SSH. You need connectivity and a route between the 2 networks
@@KnowledgeSharingTech How to do this??
What is the password for IP address
linux login password
@@legendshettygaming6113 password of user your logging into
SMAAAAAAAAAAAAAAAAAAAAAAAAAAAASH
does not work
thank you
Welcome
It is saying port 22 connect timed out
try with port 8022