The Beginner's Guide To SSH

  Рет қаралды 58,749

DistroTube

DistroTube

Күн бұрын

Пікірлер: 112
@alexmelillo1247
@alexmelillo1247 3 жыл бұрын
Hey man. Sysadmin here. I have been using SSH for a loooong time and this video wasn't really aimed towards me but I just wanna say, thanks for putting this stuff out there
@terrydaktyllus1320
@terrydaktyllus1320 3 жыл бұрын
Can't anyone that runs their own Linux machine call themselves a "sysadmin"?
@alexmelillo1247
@alexmelillo1247 3 жыл бұрын
@@terrydaktyllus1320 sure. I just get paid to handle other people's machines :p
@Phydoux2112
@Phydoux2112 2 жыл бұрын
Agreed! Great stuff! I usually use SSH to copy stuff from one machine to another. I think SSH is perfect for that. You can also setup an FTP server on the receiving computer as well but ssh is a nice round trip sort of deal where you can log into a machine from either end. I usually use pcmanfm to copy files from one computer to another. It's really convenient to do that. Much better than running a USB stick back and fourth between machines (sneakernet).
@RayChavez
@RayChavez Жыл бұрын
@@terrydaktyllus1320 if you have root privileges, pretty much 🤭
@sujayr6983
@sujayr6983 3 жыл бұрын
I wish I watched this video before I started learning networking stuff. I remember, I spent a whole day trying to get SSH to work. There are very few tutorials online. Thanks DT!
@Cilotto83
@Cilotto83 11 ай бұрын
thanks man i am getting started after like 20 years off computers. got forced to stop at the time of win millenium after getting a visit from the italian "nopt" police and getting sentenced with 3 years computer ban wich made me get away from computer. i am now starting to play with overthewire and this teached me A LOT. really appreciate. i think i will havbe to use this channel A LOT while playing.
@estevaomendes2305
@estevaomendes2305 3 жыл бұрын
Didn't know it was this simple to connect to your VMs. Gonna test and learn more about ssh using my VMs.
@fatriantobong8169
@fatriantobong8169 Жыл бұрын
Demystifying...some folks teach like throwing tons of unfamiliar terms which confuses listeners.so good job
@gabrielanagnostidescerante4784
@gabrielanagnostidescerante4784 Жыл бұрын
Hey DT, I've used linux my whole life, but just recently I decided to take it more seriously and have even scheduled my LPIC-1. It still surprises me how well laid out your videos are. I can watch many videos, but it's normally in yours that it clicks. Thanks for your contribuition and keep up the good work.
@hasanhuseyinyurdagul5403
@hasanhuseyinyurdagul5403 3 жыл бұрын
Every time he says super complicated password... Masterpiece I can hear him say that 1000000 times.
@MichaelVash7886
@MichaelVash7886 3 жыл бұрын
Good video. One minor thing I'd point out is that the passphrase is being authenticated locally by the cert vs by the server which is more secure than trying to authenticate via a password on the server. I can see people hearing this and not quite understanding when you said its best to remove password authentication and then turn around and enter a passphrase.
@owobooperlv7673
@owobooperlv7673 3 жыл бұрын
Man, literally just put learning ssh on my todo list a day or two ago, and you are once again my savior. Thanks for the awesome content DT!
@neil101
@neil101 2 жыл бұрын
Hey DT. I'm an absolute beginner to Linux, but this video is the best intro to SSH, by a long way. Thanks and keep up the good work.
@UnspankableGoose
@UnspankableGoose 3 жыл бұрын
This is the one ssh video that's actually good, and detailed.
@martinvandenbroek2532
@martinvandenbroek2532 3 жыл бұрын
Looking forward to the next episode that explains some more advanced SSH tips and tricks 😉
@matthewrease2376
@matthewrease2376 2 жыл бұрын
@Terminalforlife (LL) I feel like I remember seeing a video about sshfs from him recently but perhaps it another Linux KZbinr...
@jaejaneiropt
@jaejaneiropt 3 жыл бұрын
I start to study SSH this year. I saw and studied other stuff like a litle more advanced level on SSH, but let me tell you that this is a very good begginers guide, there are some stuff in here that I didn´t know. Thank you for this video too. Very good channel, congratulations
@nathannjh
@nathannjh 3 жыл бұрын
Wow, just doing my first SSH file transfer yesterday. Can't wait to watch, Thanks DT!
@mertgokbulut8676
@mertgokbulut8676 3 жыл бұрын
Hey DT, I really enjoyed this introductory video to ssh. I am trying to learn emacs after I learned vim and I noticed that you mentioned in some of your videos that you are running daemon processes for them. I know what daemons are conceptually however it would be great if you can make an introductory video about how to use them. I really enjoy how you clearly explain these concepts and love your vids :)
@MarcusPHagen
@MarcusPHagen 3 жыл бұрын
Thank you, DT! This is exactly what I needed. I'm installing Ubuntu on a Raspberry Pi cluster which I'm using for learning about cluster management. This walked me through everything I will need to set up SSH key-only access, & use a FOSS app to log into them all at once with tabbed access from my main machine.
@1rk1n
@1rk1n 3 жыл бұрын
How do you exponentially thumbs up super handy videos? it only let me thumbs it up once, and it needs 5000 more.
@CoronaMatin
@CoronaMatin Жыл бұрын
Great breakdown of how SSH works
@mpsii
@mpsii 3 жыл бұрын
Talk about timing. I needed this.
@magnusanderson6681
@magnusanderson6681 3 жыл бұрын
Never miss a chance to show off your super strong and complicated password do you? :P
@akwalek
@akwalek 3 жыл бұрын
Thanks for posting, very informative!
@jacksystems
@jacksystems 3 жыл бұрын
Great info for managing my web server, thanks DT!
@furiousfellow1583
@furiousfellow1583 3 жыл бұрын
Damn! You've got some serious teaching skills!! Thanks for the vid
@enzomon27
@enzomon27 3 жыл бұрын
Ready to watch this video.
@johannesrodt290
@johannesrodt290 3 жыл бұрын
Could you make a video about configuring nyxt
@kellingc
@kellingc 3 жыл бұрын
SSH is cool. So, got the command line - how complex is it to get X or Wayland to see the remote as a client, and the remote cimputer ro use the server's X or Wayland server (yes, this is a loaded question)?
@DistroTube
@DistroTube 3 жыл бұрын
Most servers aren't going to have a display server installed. But...you can use X11 forwarding to run GUI apps remotely. It's not a great experience though. Teamviewer is probably what most people use for something like this though, but Teamviewer is proprietary poo. :D
@alexo4600
@alexo4600 3 жыл бұрын
hi you might be looking for x11vnc or VNC in general.
@Gabifuertes
@Gabifuertes 3 жыл бұрын
@@alexo4600 +1 for vnc
@mirmarq429
@mirmarq429 3 жыл бұрын
Directly forwarding an X window is doable, but theming and stuff sometimes get broken. Also, it is slow.
@terrydaktyllus1320
@terrydaktyllus1320 3 жыл бұрын
@@mirmarq429 Wow! So here's a person who need remote access to computers and the first thing he cares about is how his window borders look?
@Bonez0r
@Bonez0r Ай бұрын
How to connect to a server over the internet instead of on the same network? I would have liked to see that in the video. I'll look up how to do it if/when I ever get to the point I need it (I'm still a noob learning the basics).
@vim449
@vim449 3 жыл бұрын
Do you think you could make a full video about TRAMP?
@giacomodelillo1719
@giacomodelillo1719 3 жыл бұрын
Hey, Dt! Just asking, ever thought to create a podcast? Just the audio of your FAQ or something else
@mikaelrask
@mikaelrask 3 жыл бұрын
check out hes videos hey dt.
@moepikd
@moepikd 7 ай бұрын
3:41 One thing to keep in mind is the SSH daemon on Arch Linux is actually called "sshd" and not just "ssh".
@AceTop
@AceTop 3 жыл бұрын
Hey DT, the passphrase you have to enter only the first time on the remote machine, and then not any more.
@NemoOhd20
@NemoOhd20 9 ай бұрын
excellent introduction. thank you
@edmund3504
@edmund3504 3 жыл бұрын
I use SSH every day
@brainstormsurge154
@brainstormsurge154 2 ай бұрын
If you're having a hard time figuring out why the ssh daemon isn't showing up with systemd on your system even if you've installed openssh it's because it's named sshd (for ssh daemon) so be sure to use that instead. This is certainly the case for arch systems.
@chessgo5028
@chessgo5028 Жыл бұрын
the fact that you are connected to the virtual machine makes and at the same time trying to communicate with it from your local makes it very complicated for beginners to understand.
@WahjoeGunawan
@WahjoeGunawan 2 жыл бұрын
excellent explanation, very concise, thank you
@rohitk9756
@rohitk9756 3 жыл бұрын
Hey DT, How is the ZSA Moonlander, I'm thinking of purchasing it. Also great video!
@praetorxyn
@praetorxyn 3 жыл бұрын
The password on SSH keys thing is tricky, because as a developer I mostly want to use SSH authentication for Git so I don't have to enter passwords, and that defeats the purpose. SSH agent can authenticate for you, but I don't know if you have to reauthenticate to SSH agent every time you open a new terminal / tab or if just doing it once every reboot would be sufficient. My guess is that you'd have to do it every terminal, so that's why I don't tend to put passwords on there if I don't have to.
@reverseila4363
@reverseila4363 3 жыл бұрын
hey dt, could you make a video on the process of installation itself? by that I mean the process that is shared among installation of all linux distros: - what does partitioning the disk(s) means - what is the meaning to create file system on top of a partition - what does chroot means - why the process of installation differs between uefi and legacy bios - mistakes before, during, and after base installation this is a somewhat exhastive list of things to cover, but hopefully these can offer basic and fundamental knowledge of installation to newbie linux users like me.
@terrydaktyllus1320
@terrydaktyllus1320 3 жыл бұрын
Have you not thought about just reading a Linux book or two, or buying a cheap Linux CBT? Why's it his responsibility to provide your Linux education free-of-charge? The only people who should start trying to use Linux are those who are willing to sit down and put some effort in themselves to learn it. Do you drive a car? Because you have to put in a lot of expense, time and effort to learn to drive, probably because it's something you need to do. Why is it different learning to use a computer properly. Unfortunately, you demonstrate the core difference between millennials and boomers like me - I developed the patience to sit down and just learn what I know and I am still learning by listening to experts, reading books and guides, and trying things out for myself. That has paid off over the years, I work in a good job in Linux cyber-security, all of it is self-taught. Far too many millennials (not all of them) don't want to put in any effort themselves - they want everything "delivered on a plate to them".
@reverseila4363
@reverseila4363 3 жыл бұрын
@@terrydaktyllus1320 @Terry Daktyllus first of all, i don't care who should use and not use linux. its just an os. nothing more. a tool. just like a spoon. you know. You're comparing using a computer with using a car. ok :) just because I'm asking him to cover a topic, Do you think I'll wait for him to only be taught by him? is watching videos on youtube free of charge? i pay to my isp. probably it doesn't cost so much in your country. This isn't resposibility of anybody to educate me or you on youtube. I'm just suggesting on what topics he may wants to create a video or two, you know giving him some ideas. Just think about it, why even dt create videos. For example this video. Probably ssh is a useful/popular tool to cover a tutorial on. I don't remember if I asked dt to create a video on ssh but he did it anyway. maybe other people asked him. You seem to not watch the end of his videos. he thanks people who support him. he probably creates videos for them. I too as a 'consumer' can atleast comment on anything down here. why not asking him politely to cover a topic. asking someone to create a video is just asking them to write a book on a subject. (un)fortunately i'm not a boomer. if i was, a few decades ago I would have asked him to write a book. I know books/or any written document is more effective but today unlike few decades ago there are myriads of these documents for a certain topic. which one i should start with? in your era this question probably had an easy answer. i give you an exapmle. go on and learn abou mutt email client by reading arch wiki... Have you thought about it, why you, as a boomer, came here to respond me, in a video that you could otherwise learn by reading a book/article? isn't it ironic? and one more thing, fyi, in my country there is no way that i can buy a book from a foreign country. i cannot buy anything from amazon or the like. yes unfortunately you too demonstrated the core difference between boomers and millenials like me.
@terrydaktyllus1320
@terrydaktyllus1320 3 жыл бұрын
@@reverseila4363 I got to the end of the fourth line and gave up reading any furher. Sorry you wasted your time writing it, maybe someone else will read it. I can only judge you on what I see you write here, and you still strike me as self-entitled and disrespectful. I understand the effort that many content creators go through to produce content here, I keep thinking about starting my own channel but know how time consuming creating good quality material is. You get this content **FREE OF CHARGE** (no, we are also not taking into account the wear on your trousers/pants whilst you're sat on your chair working on your computer either) and the first thing you respond with is "Yes, but I want you to make this and that and something else". That is self-entitlement and lack of respect in a nutshell. And that's all I have to say to you. The discussion is over, learn to have empathy with others, particularly with the hard work that they do, and stop being a "me me me".
@reverseila4363
@reverseila4363 3 жыл бұрын
@@terrydaktyllus1320 look who speaks about entitlement. nobody cares about me, and that's fine, but almost certainly you do care! go home boomer :)
@kIrani1
@kIrani1 9 ай бұрын
Thank you Mr. Fravahar. Your programs are very enlightening. #KingRezaPahlavi
@tostoday
@tostoday 3 жыл бұрын
Maybe call the host machine Deadbeefer :)
@drishalballaney
@drishalballaney 3 жыл бұрын
hey DT, why not take a look at using something like VNC as well?
@terrydaktyllus1320
@terrydaktyllus1320 3 жыл бұрын
What stops you taking a look at VNC?
@bhaveshverma8629
@bhaveshverma8629 3 жыл бұрын
Very good information sir
@PaperBenni
@PaperBenni 3 жыл бұрын
What is your take on the freenode situation?
@sashaj0aoallerdingsinsasse815
@sashaj0aoallerdingsinsasse815 3 жыл бұрын
Good Video about ssh, I truely like your stuff. Btw whats this rafi-pass directory in your Home ~ ;-) ? take it easy && take care off your privacy, bye
@DistroTube
@DistroTube 3 жыл бұрын
rofi-pass is a rofi script that works with the pass command. I used it on the recent video about "pass."
@sashaj0aoallerdingsinsasse815
@sashaj0aoallerdingsinsasse815 3 жыл бұрын
@@DistroTube yes, okay. I just mean If publish a Video, maybe use a dummy environment, not a your personal one 😀☺️ I like, and I want to give you patreon or via PayPal 5,55
@zeppelinmexicano
@zeppelinmexicano 8 ай бұрын
This is a good one.
@9MAS91
@9MAS91 3 жыл бұрын
Do you have a setup / info on how you setup your terminal in this videos I like the colorscheme and tie fighters
@deliriumcode
@deliriumcode 3 жыл бұрын
If I'm on a different distribution and there's another name for openssh - what will be the command helping me finding that / those packages?
@debianswami8204
@debianswami8204 3 жыл бұрын
well, what distro are you using? have you googled(used as a verb for search), install openssh server (YOUR DISTRO)??? The tools are GNU tools, so they kinda go from DIstro to Distro. You may need another command to restart your services, or to start or stop the ssh server, as these commands are for a system that has systemd....what init system does your Distro use?
@deliriumcode
@deliriumcode 3 жыл бұрын
@@debianswami8204 yo, the question was more hipotetical one, was wondering how could I find let's say all the packages with "ssh" in their name?
@terrydaktyllus1320
@terrydaktyllus1320 3 жыл бұрын
@@deliriumcode It should always be called "openssh-[something]", there's no reason to call it anything else.
@bahathir_
@bahathir_ 3 жыл бұрын
If we set password in ssh keys, we can use 'ssh-agent', wich create a shell after the pass phrase being entered. In the shell, every ssh related commads can be used without entering the pass phrase. Example: $ ssh-agent bash -l Thank you.
@bahathir_
@bahathir_ 3 жыл бұрын
@Learn Linux If I am not wrong , dt had set the pass phrase while creating the keys. In that case, ssh-agent is very useful, without using other tools/programs.
@QuarKSonTV
@QuarKSonTV 3 жыл бұрын
Great content, keep it up
@abidalica
@abidalica Жыл бұрын
Great video
@ammaralhassan8508
@ammaralhassan8508 3 жыл бұрын
Hey Dr try Lunar vim is a nice one
@QuicksilverSG
@QuicksilverSG 2 жыл бұрын
If I'm a beginner, what use would I have for all this Linux server mumbo jumbo?
@killua_148
@killua_148 3 жыл бұрын
Off topic, how can I add the "took x seconds" to the terminal?
@Cutrexxx
@Cutrexxx 2 жыл бұрын
does ssh use a tcp connection?
@miladvaziri3
@miladvaziri3 3 жыл бұрын
not good enough to like and not too bad to dislike, thanks for video
@lqlarry
@lqlarry 3 жыл бұрын
No. you're not first
@DistroTube
@DistroTube 3 жыл бұрын
True story.
@enzomon27
@enzomon27 3 жыл бұрын
Story of my life, again...
@NimaqAlizadeh
@NimaqAlizadeh 2 жыл бұрын
👌👌👌
@3133788
@3133788 3 жыл бұрын
Hey DT, you have to tell about mosh too
@debianswami8204
@debianswami8204 3 жыл бұрын
Mosh is not very common. It is only 9 yrs old, while openssh is 20+ yrs old. In fact I do not know many ppl that use it at all.
@3133788
@3133788 3 жыл бұрын
@@debianswami8204 according to your logic, there is no need to explain anything to anything less than 20 years old? mosh is a very handy thing. For example that allows you to move around with your laptop without losing the remote session
@terrydaktyllus1320
@terrydaktyllus1320 3 жыл бұрын
@@3133788 I think you should explain why, when one content creator works very hard to make a very informative video on a particular topic that you get free of charge, that you then immediately demand he makes a video on something else.
@debianswami8204
@debianswami8204 3 жыл бұрын
​@@3133788 while an interesting topic (mosh) I was just trying to emphasize the fact that it is NOT used that often in the real world.Yes it's there, and yes it can be used, but most people don't use it---so it's not a "must tell them" subject... YMMV
@aspeakgaming3564
@aspeakgaming3564 3 жыл бұрын
Is the id number random or follow a rule ?
@AndersJackson
@AndersJackson 3 жыл бұрын
I would have used the apps in ufw, and using limit with ssh (not on protocol that do many connections, like http) ufw limit app OpenSSH comment "Allow ssh to access this machine" As that lock out people that try to force attack at your machine. If awahi is installed, you could try ssh -X user@ubuntu-virt.local The -X allow you to tunnel X11 over the ssh. You also might want to use ssh-add to add the certificate to an certificate server for ssh.
@bluesdog88
@bluesdog88 10 ай бұрын
Interesting on Fedora 39 its sshd
@krylite5541
@krylite5541 3 жыл бұрын
10:50
@eritert
@eritert 3 жыл бұрын
On an ubuntu 20 server vps i had to install vim. What da
@micaiahflores1592
@micaiahflores1592 3 жыл бұрын
thanks to this vid I was able to ssh into my pinebook pro from my pinephone but I cant do the inverse lmaoo?
@paarthjuneja3707
@paarthjuneja3707 3 жыл бұрын
Hey DT, how can I learn Elisp?
@TheBlueThird
@TheBlueThird 3 жыл бұрын
Google it.
@rezmed1144
@rezmed1144 3 жыл бұрын
your eyes
@jumpman1823
@jumpman1823 3 жыл бұрын
All those anti-vaxxers from the last video might need to learn critical thinking skills to appreciate it this one.
@terrydaktyllus1320
@terrydaktyllus1320 3 жыл бұрын
Anti-vaxxers are just selfish and dumb. They should stick to Windows. You need a brain to think critically, they don't have one.
@nicolaliguori1
@nicolaliguori1 3 жыл бұрын
Dear DistroTube, May you make a video about z shell (zsh) and what are the differences with bash? I'm simply asking because as far as i've seen a new distro on the block, cutefishOS - based upon Manjaro - uses it sneak peek preview: kzbin.info/www/bejne/rp2UpnSijq6Va5Y Whatever, thaks :)
@gflorin7761
@gflorin7761 Жыл бұрын
dt's password: 我是
@WildVoltorb
@WildVoltorb 3 жыл бұрын
Wuuuuut ubuntu, to tiling window manager eeeeeeeeeeew
@liftlinux9421
@liftlinux9421 3 жыл бұрын
So if you know the username, password & ip adress you can hack anyone, lol I am asking my one of my windows friends to tell me that stuff, do a rm -rf /* & go install Gentoo on that
@Vlad-1986
@Vlad-1986 3 жыл бұрын
Who cares about SSH? SSH can't play ASCII star wars movies
Rice Your Terminal With Fetch Master 6000
8:52
DistroTube
Рет қаралды 69 М.
Xargs Should Be In Your Command Line Toolbag
16:24
DistroTube
Рет қаралды 101 М.
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 4,8 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 204 МЛН
OpenSSH Made Easy: The Ultimate Step-by-Step Tutorial
1:28:00
Learn Linux TV
Рет қаралды 621 М.
How Secure Shell Works (SSH) - Computerphile
9:20
Computerphile
Рет қаралды 822 М.
OpenSSH for Absolute Beginners
23:00
Veronica Explains
Рет қаралды 117 М.
My Hyprland And Waybar Configurations
14:05
DistroTube
Рет қаралды 16 М.
The 12 Linux Apps Everyone Should Know About
21:20
DistroTube
Рет қаралды 476 М.
Learning Awk Is Essential For Linux Users
20:02
DistroTube
Рет қаралды 305 М.
7 AWESOME Linux Terminal Applications and Utilities
11:49
TechHut
Рет қаралды 462 М.
Learn SSH In 6 Minutes - Beginners Guide to SSH Tutorial
6:04
Code With Bubb
Рет қаралды 511 М.
Linux Directories Explained in 100 Seconds
2:53
Fireship
Рет қаралды 1,5 МЛН
The Only Password Manager I Can Trust
12:19
DistroTube
Рет қаралды 81 М.
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 4,8 МЛН