Beginners Guide To SSH

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] how do you think our nerds sorry I should have encrypted that howdy hey incre nerds tape on this channel I do a lot with SSH or as its referred to commonly by me Shh and I'm drafting up a video and SSH tunneling so I figured it would probably be a good idea to explain what SSH is and how to use it but get me being all responsible back in these swinging sixties no Xbox no Mobile's no internet not a single luxury like Robinson Crusoe it's primitive as can be computers first began talking to each other through networks so researchers started experimenting with this new way of communicating and they developed a set of rules or protocols called telnet where a user on one computer can take control of another computer without being in its vicinity it became a really popular tool but the only problem was it wasn't really secure anyone online could intercept and read the data you were sending so in the mid-90s telnet spawned a more secure successor called secure shell or where telnet was like writing a note and sending it to your neighbor and anyone standing in between could read it SSH had a different approach first you and your neighbor agree to use a briefcase then you put your note inside the briefcase put a lock on it and send it to your neighbor since your neighbor doesn't have your key he sticks his own lock on it with his own key and sends it back to you you then remove your lock and send it back where your neighbor can then unlock his lock and pull out the note so even though the briefcase could be intercepted it remains locked at the entire time that it's in transit all right enough talking let's get that train rolling okay so the first thing we need is a computer running an SSH server and this is going to be the computer that we want to control and you can set up an SSH server on basically any platform for a Mac you can enable remote login through the sharing preferences panel on Linux you can install OpenSSH server and then check to see if it's running on the Raspberry Pi you can go into the RasPi config options interfaces and then enable SSH and then for updated versions of Windows 10 you can go into apps and features manage optional features add a feature and then install the OpenSSH server then you'll need to go into the services find OpenSSH set it to auto start on boot and then start it for this session on Android you can install the simple sshd app and then there's nothing available on iOS at the moment because Apple likes to lock it down we got an ssh server that's neato gang now before we can connect to that ssh server we need to install ssh software on whatever device that we're going to use to connect so here we go again for Mac Linux and raspberry pi it should be enabled by default on updated versions of Windows 10 it may be enabled by default but you can check by going into absent features to see if it is if it isn't then go back into manage optional features add features and install it and then you can also use putty which is a free fan favorite on Android and iOS you can install an app like terminus to get SSH functionality now assuming that your device of choice is on the same network as your server you can open up a command prompt your terminal and log in to your SSH server by typing SSH the username used to login to your server the @ symbol and then your server's IP address when you hit enter it should ask you if you're willing to trust the server and then it'll prompt you for a password which should be the password used to log into your server now you should be logged into the server's SSH interface we're now what now well now we can use terminal commands to navigate edit and manipulate file and the commands you use will be different depending on what operating system you decided to install the server on here's a quick rundown on some of the more useful Linux and Mac commands if you want some useful Windows commands you can find those in the video description LS lists of directory man opens up the manual mkdir we'll make a new directory CD changes the directory to that file path CD dot dot we'll go up a directory touch changes the access date file or creates a file if it doesn't exist MV will move a file from one location to another CP will copy a file from one location to another RM removes a file rmdir removes a directory and nano is a good text editor for editing files although some people swear by the vim editor and W get is a command for grabbing and downloading almost any file from a network there's a lot of cool things that you can do with SSH and while I'll try to cover some of them on my channel I can't cover all of them so if you're curious and always try googling for my next video after the holidays I'm gonna show you how you can tunnel traffic through SSH using a method called SSH done what's your favorite SSH trick let me know in the comments below if you have any ideas you can submit or vote for your favorites a tinkernut.com slash ideas can click here to watch more videos like this and if you got any value out of my show we'd like to give some value back please feel free to donate at patreon.com slash tinker not all right that's it for this tutorial for more go to youtube.com slash tinker not
Info
Channel: Tinkernut
Views: 430,843
Rating: undefined out of 5
Keywords: tips, tricks, tutorial, tinkernut, how to, weekend hacker, gigafide, tinker, ssh, server, putty, ssh windows 10, ssh server, ssh client, ssh app, ssh android, ssh server android, ssh ios, secure shell, security, remote access, remote control, securely transfer data, ssh mac, terminal, command line, encrypted, encryption, man in the middle
Id: qWKK_PNHnnA
Channel Id: undefined
Length: 5min 59sec (359 seconds)
Published: Sat Dec 22 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.