How to enable SSH on Linux Ubuntu (Easy step by step guide)

  Рет қаралды 173,661

Knowledge Sharing Tech

Knowledge Sharing Tech

Күн бұрын

Пікірлер: 138
@KnowledgeSharingTech
@KnowledgeSharingTech 4 жыл бұрын
For more tutorials, subscribe to my channel, it really makes a difference 💗: kzbin.info
@JustinEckert-fn4nu
@JustinEckert-fn4nu 8 ай бұрын
you need to run "sudo systemctl start ssh, then sudo systemctl enable ssh if the status came back as dead (inactive)
@lhd7105
@lhd7105 7 ай бұрын
strangely this wasn't mentioned in the tutorial, thank you for adding this note *hugs*
@solived1239
@solived1239 5 ай бұрын
@@JustinEckert-fn4nu your comment helped bre thanks
@falsefortune7726
@falsefortune7726 4 ай бұрын
thank you, everyone that makes these "tutorials" seem to think it works everytime and skips any trouble shooting
@zelven6109
@zelven6109 4 ай бұрын
its still dead btw
@purplevanilla
@purplevanilla 4 ай бұрын
do you need to do this everytime you turn on your computer?
@jeremiahharemza1235
@jeremiahharemza1235 2 жыл бұрын
Thank you very much. This was helpful. Now I don't have to sit on the floor next to my linux station.
@miguelescutia5556
@miguelescutia5556 3 ай бұрын
You can still sit on the floor next to your Windows machine.
@peterrchimaa
@peterrchimaa Жыл бұрын
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
@Shadow_peashooter_1001
@Shadow_peashooter_1001 Жыл бұрын
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
@dogbyte7875
@dogbyte7875 11 ай бұрын
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 ;)
@KnowledgeSharingTech
@KnowledgeSharingTech 11 ай бұрын
Hello and thank you for your message.
@aerobrain2001
@aerobrain2001 Жыл бұрын
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!
@KnowledgeSharingTech
@KnowledgeSharingTech Жыл бұрын
Glad to help!
@mincoarmin1260
@mincoarmin1260 Жыл бұрын
You Sir are a life saver Thanks to you I can work on my mariadb server on my main pc Thank you
@KnowledgeSharingTech
@KnowledgeSharingTech Жыл бұрын
You are welcome
@nmarks
@nmarks 11 ай бұрын
Clear, unfussy instructions which worked first time. Thank you very much. Subscribed. 👍
@KnowledgeSharingTech
@KnowledgeSharingTech 11 ай бұрын
Thanks for the sub!
@rajankumar_37
@rajankumar_37 Жыл бұрын
Best guide, pretty straight forward! quality content. thanks
@johnali4117
@johnali4117 Жыл бұрын
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?
@GamerMasterlink
@GamerMasterlink Жыл бұрын
Yes you need to disable DHCP on the network configuration if you want to maintain your IPv4 adress.
@Saidkus
@Saidkus 4 ай бұрын
The only thing you need to do is to change the setting of VM network. By coming From NAT to Bridge Adapter, your VM will have its own IP as if it is your real host.
@filliposimamora
@filliposimamora 3 ай бұрын
bro, im really love you, you fixed my heart, my brain, my stress and my program, really thx
@KnowledgeSharingTech
@KnowledgeSharingTech 3 ай бұрын
Glad I could help 😊
@TheLightofScience
@TheLightofScience 2 жыл бұрын
This is great tutorial and straight to the point - thank you so much !!!
@KnowledgeSharingTech
@KnowledgeSharingTech 2 жыл бұрын
Welcome
@YoungSecurity
@YoungSecurity Жыл бұрын
At 00:46, it says, "All commands are in the description." The video description does not contain any commands.
@KnowledgeSharingTech
@KnowledgeSharingTech Жыл бұрын
Thank you for noting this. I have added the commands now.
@jardyparty
@jardyparty Жыл бұрын
Perfect, exactly what I was looking for - thank you!
@supra1610
@supra1610 29 күн бұрын
Wonderful video! Thank you very much.
@KnowledgeSharingTech
@KnowledgeSharingTech 29 күн бұрын
I'm glad it was helpful!
@advocate7643
@advocate7643 10 ай бұрын
Hi, do I have to run these two commands after every time I turn on my server?
@Valksforge
@Valksforge 3 ай бұрын
So this can be done the other way around “Connect FROM my personal computer Ubuntu terminal TO datacenter SSH Dedicated Server terminal” A full control from my house to the datacenter em I right? Sorry I’m new to this and wanted to learn more 🙏.
@pablocarballeira4443
@pablocarballeira4443 11 ай бұрын
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
@NickRigas-mi4hh
@NickRigas-mi4hh 3 ай бұрын
Same
@YanaLukomskaya
@YanaLukomskaya Жыл бұрын
It was fast and wonderful! Thank you
@KnowledgeSharingTech
@KnowledgeSharingTech Жыл бұрын
You're welcome!
@EpicVideoTime4You
@EpicVideoTime4You Жыл бұрын
THANK YOU! Straight to the point
@Balajiji4888
@Balajiji4888 2 ай бұрын
Thanks Bro
@JReese2013
@JReese2013 2 жыл бұрын
Thanks for the straightforward video!
@KnowledgeSharingTech
@KnowledgeSharingTech 2 жыл бұрын
You bet!
@faustoricardo8875
@faustoricardo8875 Жыл бұрын
thanks mate you are the best great video!
@KnowledgeSharingTech
@KnowledgeSharingTech Жыл бұрын
Glad it helped
@gamerl4g111
@gamerl4g111 Жыл бұрын
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?
@fardaadz1
@fardaadz1 2 жыл бұрын
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
@Vizio_Foreign
@Vizio_Foreign 2 ай бұрын
Maybe this is a stupid question, but if the system is powered on without a display, would it not be stuck on the user login screen? Or do you have to disable/ ssh just bypass it?
@KnowledgeSharingTech
@KnowledgeSharingTech 2 ай бұрын
SSH starts as a service
@Vizio_Foreign
@Vizio_Foreign 2 ай бұрын
@@KnowledgeSharingTech thank you for the fast response, so ssh starts when the system boots, regardless if the Ubuntu user has logged in?
@pranavvats9439
@pranavvats9439 5 ай бұрын
thankyou so very much sir this was sooooo sooo sooooooo helpful
@blither592
@blither592 7 ай бұрын
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
@KnowledgeSharingTech
@KnowledgeSharingTech 7 ай бұрын
You use an existing user on your Linux machine to connect to it. So it's the password for this user
@nguyenthethinh9014
@nguyenthethinh9014 3 ай бұрын
Great, but my friend needed to connect into my ssh server and we used 2 different wifi. So he could not connect, do everyone know how to solve this situation ??
@kazsid2995
@kazsid2995 Жыл бұрын
Excellent. Easy to follow
@Lizardrust
@Lizardrust 2 ай бұрын
On my windows pc when I ssh to my server it says “Permission denied, please try again.” But I have the password right
@ibrarali4592
@ibrarali4592 Жыл бұрын
thank you for sharing Knowledge
@francon9586
@francon9586 Жыл бұрын
Thanks for the tutorial.
@thebzz2299
@thebzz2299 2 жыл бұрын
Excellent clean and to the point.
@KnowledgeSharingTech
@KnowledgeSharingTech 2 жыл бұрын
Glad you liked it
@leleemagnu6831
@leleemagnu6831 2 жыл бұрын
Great tutorial, thank you!
@Chris-nq3ri
@Chris-nq3ri 3 ай бұрын
nice dude thx!!
@marlonnoto4116
@marlonnoto4116 2 жыл бұрын
Thanks. Simple and straightforward guide.
@tobios89p13
@tobios89p13 7 ай бұрын
What do i do when its inactive(dead)?
@tobios89p13
@tobios89p13 7 ай бұрын
Never mind i got ot running (:
@SunilSharma-ng3ow
@SunilSharma-ng3ow 2 жыл бұрын
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
@judeberri
@judeberri 3 жыл бұрын
You're a hero, thank you
@KnowledgeSharingTech
@KnowledgeSharingTech 3 жыл бұрын
Welcome!
@VivekSingh-cq5rt
@VivekSingh-cq5rt 3 жыл бұрын
Really useful. Thank you
@KnowledgeSharingTech
@KnowledgeSharingTech 3 жыл бұрын
You are welcome!
@kevinoudai6455
@kevinoudai6455 2 жыл бұрын
Helped alot thanks
@KnowledgeSharingTech
@KnowledgeSharingTech 2 жыл бұрын
Welcome
@Valandovchanec
@Valandovchanec 4 жыл бұрын
Thanks for the video..
@KnowledgeSharingTech
@KnowledgeSharingTech 4 жыл бұрын
My pleasure
@87patchinko
@87patchinko Жыл бұрын
thank you very helpful
@FlorianLabridy
@FlorianLabridy Жыл бұрын
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.....
@user_hinth
@user_hinth Жыл бұрын
Thanks a lot for your tutorial. Praise to the Almighty Allah,It's working properly.
@3mre_1233
@3mre_1233 Жыл бұрын
Good Video, thanks
@chukong5
@chukong5 2 жыл бұрын
Thank you .. it works
@pravin3870
@pravin3870 11 ай бұрын
which password to put after putting our othrr pc IP is that Laptops password or which??? plz help
@harsh8135
@harsh8135 8 ай бұрын
yup, your machine's ip
@Rahyss
@Rahyss 10 ай бұрын
Thank you 👍🏿
@KnowledgeSharingTech
@KnowledgeSharingTech 10 ай бұрын
You're welcome
@bretthl1
@bretthl1 Жыл бұрын
That was perfect.
@xxmujinscxx3516
@xxmujinscxx3516 2 ай бұрын
I keep getting connection timed out when trying to connect to the virtual machine
@santoshgujar5237
@santoshgujar5237 Жыл бұрын
Thank you, Sir, 🙏🌺😇
@santoshgujar5237
@santoshgujar5237 Жыл бұрын
🙏🌺😇
@SHAILESHYADAV-gv6hu
@SHAILESHYADAV-gv6hu Жыл бұрын
Very good 👍
@manideepkumar959
@manideepkumar959 Жыл бұрын
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
@KnowledgeSharingTech
@KnowledgeSharingTech Жыл бұрын
What are the IPs of the Ubuntu and the remote Win machine?
@manideepkumar959
@manideepkumar959 Жыл бұрын
@@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
@KnowledgeSharingTech
@KnowledgeSharingTech Жыл бұрын
You need to make sure that both networks (172 and 192) can communicate
@omartusson
@omartusson 10 ай бұрын
Thank you.
@KnowledgeSharingTech
@KnowledgeSharingTech 10 ай бұрын
Welcome
@swfaod
@swfaod Жыл бұрын
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 ?
@dodowater6936
@dodowater6936 11 ай бұрын
Did you figure out how to get the password? Cause I have the same problem as you.
@Mateo-pu7xg
@Mateo-pu7xg 9 ай бұрын
Thank you
@microsoftskill8191
@microsoftskill8191 Жыл бұрын
❤ thanks i done with your video
@KnowledgeSharingTech
@KnowledgeSharingTech Жыл бұрын
Thank you too
@TylerrTheMasterBaiter
@TylerrTheMasterBaiter Жыл бұрын
Where did the command prompt came from ?
@KnowledgeSharingTech
@KnowledgeSharingTech Жыл бұрын
In Linux: Ctrl+Alt+T In Windows, type CMD in the search box and hit enter
@rutikkhandekar2518
@rutikkhandekar2518 2 жыл бұрын
Helpfull 💓...
@KnowledgeSharingTech
@KnowledgeSharingTech 2 жыл бұрын
Glad to hear that
@o0Vion70o
@o0Vion70o 2 жыл бұрын
Thanks you!
@KnowledgeSharingTech
@KnowledgeSharingTech 2 жыл бұрын
Cheers
@perfrivik9932
@perfrivik9932 2 жыл бұрын
mashallah youre the best
@KnowledgeSharingTech
@KnowledgeSharingTech 2 жыл бұрын
Thanks
@theraushantiwari
@theraushantiwari Жыл бұрын
it is working on only same network. How to connect from other network????????
@KnowledgeSharingTech
@KnowledgeSharingTech Жыл бұрын
It has nothing to do with SSH. You need connectivity and a route between the 2 networks
@theraushantiwari
@theraushantiwari Жыл бұрын
@@KnowledgeSharingTech How to do this??
@NathanielMujesia
@NathanielMujesia Жыл бұрын
thanks
@KnowledgeSharingTech
@KnowledgeSharingTech Жыл бұрын
My pleasure
@athraafaraj8387
@athraafaraj8387 3 жыл бұрын
Thanks much
@KnowledgeSharingTech
@KnowledgeSharingTech 3 жыл бұрын
Welcome
@pebble-q1f
@pebble-q1f 6 ай бұрын
not working in mac machine
@harsh8135
@harsh8135 8 ай бұрын
and how to do the same for windows
@DAYSHIVANSH
@DAYSHIVANSH Жыл бұрын
It is saying port 22 connect timed out
@pepe-perez
@pepe-perez 11 ай бұрын
try with port 8022
@4evrOk4U
@4evrOk4U 7 ай бұрын
thank,s Done
@youfelixx
@youfelixx Жыл бұрын
thanks!
@uchihafamily913
@uchihafamily913 Жыл бұрын
What is the password for IP address
@yavuzselimerdogan429
@yavuzselimerdogan429 8 ай бұрын
linux login password
@adreto2978
@adreto2978 6 ай бұрын
@@uchihafamily913 password of user your logging into
@shaykren7362
@shaykren7362 Жыл бұрын
SMAAAAAAAAAAAAAAAAAAAAAAAAAAAASH
@ddubz6356
@ddubz6356 Жыл бұрын
does not work
@Valksforge
@Valksforge 3 ай бұрын
So this can be done the other way around “Connect FROM my personal computer Ubuntu terminal TO datacenter SSH Dedicated Server terminal” A full control from my house to the datacenter em I right? Sorry I’m new to this and wanted to learn more 🙏.
@KnowledgeSharingTech
@KnowledgeSharingTech 3 ай бұрын
Well, if you have a network connection from your house to the data center then yes
@impliese9983
@impliese9983 6 ай бұрын
thank you
@KnowledgeSharingTech
@KnowledgeSharingTech 6 ай бұрын
Welcome
@luciano5026
@luciano5026 3 ай бұрын
Thank you
@KnowledgeSharingTech
@KnowledgeSharingTech 3 ай бұрын
Welcome!
OpenSSH for Absolute Beginners
23:00
Veronica Explains
Рет қаралды 124 М.
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,8 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Incredible Budget Home Server! (Minecraft, Plex, Home Assistant, NAS)
16:38
Hardware Haven
Рет қаралды 2,1 МЛН
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,8 МЛН
10 ways Linux is just better!
11:32
Linus Tech Tips
Рет қаралды 4 МЛН
Learn SSH In 6 Minutes - Beginners Guide to SSH Tutorial
6:04
Code With Bubb
Рет қаралды 525 М.
You're running Pi-Hole wrong! Setting up your own Recursive DNS Server!
18:02
How SSH Works
8:54
Mental Outlaw
Рет қаралды 571 М.
Tails Linux USB with Persistence (Be invisible online in 7 minutes)
10:47
Setting up a CHEAP and EASY Homelab Linux Server
16:28
TechHut
Рет қаралды 378 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН