Linux Tip | How To Use SSH Remote Login

  Рет қаралды 113,496

Joe Collins

Joe Collins

8 жыл бұрын

This is an introduction to SSH.
Check out www.ezeelinux.com for more about Linux.

Пікірлер: 93
@j800r
@j800r 5 жыл бұрын
Over three years down the line, I have discovered arp-scan from here. Thank you Joe! This could come in extremely handy.
@jeffreytaffuri2253
@jeffreytaffuri2253 8 жыл бұрын
Joe you're the best! Every time I find myself trying something new you have all the answers. Just starter SSH because I set up a second refurbished unit with Linux Mint 18. Does everything I want and more. Total cost $120, 6 year old HP 8000 USDT 160GB HD with my upgrades of memory increase to 8GB and USB Sound card fo get digital optical out.
@mrhunterf2869
@mrhunterf2869 7 жыл бұрын
Awesome video Joe! I have always wanted to use ssh. thanks for the clear explanation!
@aceofspades02
@aceofspades02 4 жыл бұрын
many thanks for the information! (I am in shock, about the "ssh -X". I made a test here, and that blew my mind). Very useful information indeed!
@Robertmehlig
@Robertmehlig Жыл бұрын
Loved this series! Helpful. Thank you :)
@JonMajorCCIE47884
@JonMajorCCIE47884 8 жыл бұрын
Great video, had no idea about forwarding X applications! You can use sftp (just replace ssh x.x.x.x with sftp x.x.x.x) to transfer files too, Linux/Unix systems have the ftp subsystem built into ssh server.
@tallkeesh
@tallkeesh 6 жыл бұрын
Will you do a video on how to set up virtual box so I can ssh between host and client OS?
@Clobercow1
@Clobercow1 8 жыл бұрын
sudo !! will run your command that you did previously but with sudo predicated. Super handy. Also, I think CTRL A will send you back to the beginning of your prompt to add something to the start.
@askhowiknow5527
@askhowiknow5527 6 жыл бұрын
Clobercow1 It’s funny too, it’s like you’re yelling at the computer
@blackrastafarian
@blackrastafarian 4 жыл бұрын
@@askhowiknow5527 I can imagine how developers first invented this feature
@blackrastafarian
@blackrastafarian 4 жыл бұрын
Oh btw, using vi-mode is a neat way to navigate along your typed command as well!
@anarita2998
@anarita2998 8 жыл бұрын
Another great video Joe as always but I have a question is SSH Remote is it the same type of software as Team Viewer I do not use myself because it is not open source but it is a type of software that allows to remote connect to someone computer with their permission and password etc but is the same type and I can use it using a GUI instead of a terminal ?
@danielcoffman1022
@danielcoffman1022 7 жыл бұрын
That is really cool with ssh -X I never knew that! I suppose I should have since I spend some of my time reading man pages
@thingyee1118
@thingyee1118 8 жыл бұрын
Great video. Keep them coming.
@daleborge
@daleborge 8 жыл бұрын
more ssh tutorials please :) great work
@failbit9978
@failbit9978 4 жыл бұрын
Sweet, knowing how to run an application from command line and reading flags in a man page is pretty intuitive... but back to remote logins with SSH... how do I configure it to work over the internet? If I want to remote SSH into my desktop from my laptop on campus (that's on a separate network)? Could anyone point me in a direction on where I can find information on that?
@busterbear610
@busterbear610 8 жыл бұрын
tbh, I have never used scp. ssh allows file transfers in the filer browser as sftp. Also, if anyone sets up a ssh server that is accessible over the Internet they really should disable direct root login.
@thingyee1118
@thingyee1118 8 жыл бұрын
arp -a will shown known devices. You dont have to have previously connected to the machine via a service like ssh or samba etc. As you said its cache. The arp system will keep a cache of other machines it hears about on the network via broadcast messages.
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+thingyee1118 Yeah, that's what I was trying to say... :)
@thingyee1118
@thingyee1118 8 жыл бұрын
ah ok np. good video
@JonMajorCCIE47884
@JonMajorCCIE47884 8 жыл бұрын
+thingyee1118 Yeah, ARP=Address Resolution Protocol. Just maps IP to mac address. Most systems cache the info for 6 hrs or so. Worked as net engineer a couple years back with a close friend, wrote a vlan access-list that blocked arp traffic from his machine. Results were nothing short of hilarious.
@aejazbasha5397
@aejazbasha5397 5 жыл бұрын
files are not copied from one machine to other when i am using caja here was an error getting information about “2.pdf”.
@SamTornado1701
@SamTornado1701 6 жыл бұрын
This is really great Thank you. I think novices might still be confused though, maybe a little more about the basics of SSH would help
@EzeeLinux
@EzeeLinux 6 жыл бұрын
Everything you ever wanted to know... kzfaq.info/get/bejne/q5OIZtRnqNPXe5c.html
@fernandoinv1972
@fernandoinv1972 4 жыл бұрын
cool video! very well explained! i gotta a question please: f the second PC is far away in another house and other ISP? what do I need to do? thanks
@EzeeLinux
@EzeeLinux 4 жыл бұрын
The remote PC will have to have a domain name on the public internet or a fixed IP on the internet. Both are way beyond the scope of a comment. :)
@pingoleonfernandez7638
@pingoleonfernandez7638 4 жыл бұрын
Very good and useful. Thank you very much.
@furkanizmirli778
@furkanizmirli778 4 жыл бұрын
Hello, is there a way to put some files to server from your local machine?
@speeddemon574onVM
@speeddemon574onVM 8 жыл бұрын
DHCP only assigns addressees once the lease that it hands out on the address expires, so as long as you don't restart your computer right before the lease expires (so that your computer happens to be off when DHCP starts a new lease) your computer shouldn't loose it's IP address. DHCP will typically lease the same address to that computer again (if it's on at this time). To be safe though I always assign static IPs to computers that I want to always have the same address (even computers that are always running anyways, thus they would be extremely unlikely to lose their IP address).
@WXLM-MorganNicole619
@WXLM-MorganNicole619 8 жыл бұрын
Question: when you run X applications over SSH, do you need to have the app installed locally or is doing this like Terminal Server in windows where the only thing that is getting sent down the wire is the graphical parts all the actual processing happens on the remote computer? secondly would this work in a computer lab setup where all but one computer is a "dumb" terminal with nothing more than an SSH client?
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+Carly Fleischmann No, you don't need to have the app installed locally. It's just sending the X video info from the other machine. Yes, it will work on a 'dumb' terminal. As a matter of fact,. that is exactly what ssh is designed to do. :)
@WXLM-MorganNicole619
@WXLM-MorganNicole619 8 жыл бұрын
+Joe Collins thank you! I'm going to get my debian 5 virtual machine out and clone it then try some of this in the lab. Oh, the joys of VMWare
@robertlopez2365
@robertlopez2365 8 жыл бұрын
Thanks for the video as always glorious. Can you do a video on how to connect an android Tablet as a secondary screen in Linux. It works in windows but I can't get it to run under linux.
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+Robert Lopez Not something I know how to do at all... Maybe someone will see this and offer some help. :)
@hiteck007
@hiteck007 6 жыл бұрын
screw me, SSH at login says connection refused. What tha bluddy hell.
@nightviper7354
@nightviper7354 5 жыл бұрын
how to upload files to the ssh server
@tuxhunter9334
@tuxhunter9334 8 жыл бұрын
Joe i want to know if i can display the desktop of other machined via ssh
@EzeeLinux
@EzeeLinux 8 жыл бұрын
To display an entire desktop you need to install more software. :)
@tuxhunter9334
@tuxhunter9334 8 жыл бұрын
+Joe Collins (EzeeLinux) Like Desktop viewer or similar to that?
@lunkie7063
@lunkie7063 4 жыл бұрын
I learned this in school just trying to get a refresher
@ellysantersinuraya1932
@ellysantersinuraya1932 2 жыл бұрын
how use ssh to delete file in remote mikrotik router
@thingyee1118
@thingyee1118 8 жыл бұрын
Another cheap way is to use the router to assign the same IP address each time to that MAC address when it asks for a DHCP renewal. Its a setting under DHCP in most routers. That means you dont have to go around to each machine. However I dont use that since I prefer the NIC to have its IP no matter if the router is offline or online.
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+thingyee1118 Yep. That's a good way of doing it if your machines don't change. :)
@thingyee1118
@thingyee1118 8 жыл бұрын
yep providing the MAC of the NIC dont change which it wont unless you change the NIC.
@jackwhite3820
@jackwhite3820 8 жыл бұрын
SSH does work with hostnames, does it not? Why not use hostnames?
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+Jack White It does if your network is configured to do it like that. Mine won't so I use IP and from what I've heard, IP is more reliable. :)
@raymond7219
@raymond7219 7 жыл бұрын
Instead of connecting to the remote machine via its IP number, you can use the host name of that machine aswell
@EzeeLinux
@EzeeLinux 7 жыл бұрын
Only if the router supports host name resolution and/or you add them manually to the /etc/hosts file and the IP is static. :)
@vipul5529
@vipul5529 5 жыл бұрын
Just do the above thing with your public ip address.i am sure that would not work
@sayanbiswas988
@sayanbiswas988 4 жыл бұрын
how will I connect to other device by it's Mac Id only?
@EzeeLinux
@EzeeLinux 4 жыл бұрын
You can't... The device must have a static IP address on the network or the router needs to run a host name server. :)
@ClevioGrenouille
@ClevioGrenouille 5 жыл бұрын
nice tutorial
@Nichomachean5
@Nichomachean5 5 жыл бұрын
So... say I'm at my office on that network, and I want to ssh into my machine at home which is on a different ISP. How do I setup that SSH tunnel? I can't just say ssh root@192.168.88.... or whatever right? Don't I have to go through some other bullshit? I can do everything you're showing me on the same subnet just fine, but not remotely from another network.
@EzeeLinux
@EzeeLinux 5 жыл бұрын
You need to activate a public domain name for your router if you want to log into on the public internet. That involves subscribing to a service and setting up the router's fire wall to allow that traffic in. I don't do that. I use something like TeamVeiwer instead. :)
@rogernevez5187
@rogernevez5187 5 жыл бұрын
Is it possible to see the desktop environment GUI via ssh???
@EzeeLinux
@EzeeLinux 5 жыл бұрын
Yes, with a lot of other stuff installed to make it work. I just use a terminal with SSH. :)
@rogernevez5187
@rogernevez5187 5 жыл бұрын
I'm still not very familiarized with Linux neither SSH. A GUI during this phase is helpful.
@vinayak4739
@vinayak4739 3 жыл бұрын
fantastic
@mikiallen7733
@mikiallen7733 3 жыл бұрын
AM GETTING THE ERROR BELOW WHILE RUNNING IT ON JUPYTER NOTE BOOK client_id = 11 ib = IB() ib.connect('127.0.0.1', 7496, clientId=client_id) THEN ERROR COMES OUT AS ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 7496) YOUR INPUT IS HIGHLY APPRECIATED
@azoresmarine
@azoresmarine 8 жыл бұрын
Thank you
@danieldixon5944
@danieldixon5944 6 жыл бұрын
If I want to setup static IP address my question is do I have to disable the DHCP in my cable modem?
@EzeeLinux
@EzeeLinux 6 жыл бұрын
No. You're just telling the router what IP you want and it has to give it to you. :)
8 жыл бұрын
do you mean putty? ssh is not on windows for me at least? windows is planning to bring ssh to windows though arstechnica.com/information-technology/2015/06/microsoft-bringing-ssh-to-windows-and-powershell/
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+Jay Mee Yeah, you have to install it. :)
8 жыл бұрын
+Joe Collinsyer lol i found a link where it sais there going to build ssh into windows aswell im making a vid about it lol
@Conenion
@Conenion 8 жыл бұрын
+Jay Mee Use cygwin. www.cygwin.com/ It comes with most of the command line tools that Linux has and it's free. It alsoi has an X Server called Cygwin/X.
@stacode
@stacode 6 жыл бұрын
when you going to make more videos
@EzeeLinux
@EzeeLinux 6 жыл бұрын
More to come soon. :)
@kristoffervagenes5560
@kristoffervagenes5560 7 жыл бұрын
does this work for mac
@rilian226
@rilian226 5 жыл бұрын
You have add your user on the mac side to the list of allowed remote users in system preferences and then you can ssh into your mac either from another mac or any *nix system. SCP works same as in video.
@wildbad
@wildbad 4 жыл бұрын
nice
@florianbaun2510
@florianbaun2510 5 жыл бұрын
lol. the thumbs up is for you listening to george carlin.
@AlienShowz
@AlienShowz 3 жыл бұрын
Pretty cool huh? Hell yea that’s fucking awesome 😂🙏🏼
@sanjaythalapathy4801
@sanjaythalapathy4801 7 жыл бұрын
Ok im a noob and i dont even know the basics of linux systems....my question is "does the remote computer needs to be turned on while logging in???"
@EzeeLinux
@EzeeLinux 7 жыл бұрын
It certainly helps... :)
@genkiferal7178
@genkiferal7178 3 жыл бұрын
​@Learn Linux thanks. sounds more secure and cheaper on electricity and will wear out hardware less.
@kurtschenning1698
@kurtschenning1698 4 жыл бұрын
who is joe?
@vipul5529
@vipul5529 5 жыл бұрын
I am unable to connect with my public ip using remote system!
@EzeeLinux
@EzeeLinux 5 жыл бұрын
There are some extra steps to getting that to work. You have to have a public hots name and to get that you have to sign up for a service and your router needs to be able to support it. :)
@vipul5529
@vipul5529 5 жыл бұрын
@@EzeeLinux i am using mobile hotspot to connect the linux system to internet.Since the last 7 days,i've tried almost every possible configuration but it is not working.Plz tell me if i can achieve remote access through mobile hotspot.plz reply soon,i am in urgent need of it
@EzeeLinux
@EzeeLinux 5 жыл бұрын
@@vipul5529 Take that up with you mobile provider. I have no clue why you can't connect to the hotspot.
@vipul5529
@vipul5529 5 жыл бұрын
@@EzeeLinux it shows connection timed out when i try to log in the system using filezilla or putty
@EzeeLinux
@EzeeLinux 5 жыл бұрын
@@vipul5529 I still don't know why. Maybe the hotspot blocks SSH traffic. I simply don't know. :)
@Khyree_Holmes
@Khyree_Holmes 6 жыл бұрын
I have used scripts to make it easier to connect to ssh: "ssh (-X) myname@myipaddress" into "mycustomscriptitle"
@ismailmohamud9390
@ismailmohamud9390 6 жыл бұрын
how would you do that
@rilian226
@rilian226 5 жыл бұрын
@@ismailmohamud9390 Take the command you want and save it to a file. Set the execute bit (chmod +x yourfilename) and then run it from the folder it's in... ./yourfilename and it should run. BASH will assume the text in it is bash code if you don't use an extension. If you want to be formal, name the file yourfilename.sh and put the following as the first line: #!/bin/bash
@hiteck007
@hiteck007 6 жыл бұрын
screw me, SSH at login says connection refused. What tha bluddy hell.
@hiteck007
@hiteck007 6 жыл бұрын
screw me, SSH at login says connection refused. What tha bluddy hell.
Linux Tip | How to Customize Your BASH Environment
35:31
Joe Collins
Рет қаралды 78 М.
A Look at SSH(in) and SFTP(in)
28:52
Joe Collins
Рет қаралды 4,2 М.
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 55 МЛН
100❤️
00:19
MY💝No War🤝
Рет қаралды 23 МЛН
Complete SSH Tutorial: All-in-One Guide for Secure Connections
1:28:00
Learn Linux TV
Рет қаралды 576 М.
WAYLAND: what is it, and is it ready for daily use?
13:05
The Linux Experiment
Рет қаралды 368 М.
Kerberos Authentication Explained | A deep dive
16:52
Destination Certification
Рет қаралды 332 М.
SSH Tunneling Explained
6:37
Tinkernut
Рет қаралды 473 М.
Linux Tip | How To Automate Tasks using Cron
38:44
Joe Collins
Рет қаралды 48 М.
Useful Linux Applications | What You'll Need To Get Things Done
34:33
Bash Basics Part 1 of 8 | Access and Navigation
30:42
Joe Collins
Рет қаралды 221 М.
40 Years of Collecting CD's | Why I Still Love CD's in 2024
18:40
Joe Collins
Рет қаралды 4,2 М.
Хитрая ТАТАРОЧКА!😜 inst: psawkin
1:00
Petr Savkin
Рет қаралды 2,8 МЛН
joga água e pula #funny #funnyvideo #shorts
0:17
Mundo de Alícia e Ana Clara
Рет қаралды 6 МЛН
Это самый лучший подарок в ее жизни!
0:33
Mobile phone 📱✋🚫😰
1:00
Okanutie
Рет қаралды 8 МЛН