@learninjava: Yes, and no. Playing a fancy 3D first person shoot probably wouldn't work to well. But, something like tetris might should work if you have a good connection.
@marcoooootje1: Yes, There is a thing called "cygwin" that is a Linux-like environment for Windows. But, if you are just trying to ssh, look at "putty".
@theif519: Not that I know of, but you can use the host name if you are both on the same local network. example, if your host name is "theif519" you should be able to ssh to it like this:
ssh theif519@theif519.localhost
your host name is what is just after the @ in the terminal on most systems. Just add the .local to the end of it instead of using the ip address which may change if you don't make it static.
I've got my laptop to SSH into my desktop but not the other way around. It seems that Fedora closes SSH port by default or it's because it's filtered, and Ubuntu keeps it open. How do I open the SSH port in Fedora so I can access from Ubuntu? I've tried ssh 192.168.1.4 on the laptop and it got in easily but ssh 192.168.1.7 on my desktop won't work, nor does it work if I put theif519@192.168.1.7
@theif519: ssh is a daemon(a service) that needs to be started. Some Distros start it up automatically once it's installed, but some you need to start yourself. On Debian based distros (Ubuntu) the service is usually started like this:
/etc/init.d/ssh start
on Redhat based distros (Fedora) I think it's this:
/etc/rc.d/init.d/sshd start
To get it to start up automatically you'll need to add it to the start up processes.
@theif519: You also may want to check the sshd config file. There are options in there that tell ssh what users are allowed to connect and other settings such as only allowing certain ip's to connect. I'm not familiar with what Fedora has set as the defaults.
I'm going to come back to this when I get my dad's laptop in which he completely gave up on because he had a simple rogue AV. Even though I got rid of it, he doesn't have WiFi anymore. Going to install Ubuntu on it or even Arch Linux to experiment. Anyway... Yeah, I want to learn more about stuff like this, never used SSH except for my iPod Touch, and even then I don't understand how it works.
@MetalShreader: SCP or SFTP. Some File Browsers (example Nautilus) allow for sftp transfer. I have videos on it, just search through my videos for 'sftp'.
@gotbletu: Yeah, it's not always the fastest. But it works well, and you can probable use '-c' compress the traffic. I like to 'ssh' in to my desktop with my Nokia N900 and open up a music player like Rhythmbox and use my phone like a remote.
Nicer then VNC too. I can't stand VNC unless you are showing someone how to do something. Other wise you just get in the way. With SSH you can log in, run the GUI programs without the need for the local user of the machine to stop what they are doing.
@metalx1000 does this work on controlling windows machine also? i usually have to help my bro in a different state using Teamviewer, and that thing usually disconnects every like 15mins and i have to tell him to connect again gets annoying when im fixing his crappy vista machine lols
But this looks nice for when im at class i can access my files, is there any security options to configure if ur accessing away from home?
@gotbletu: I would guess there is a way to get it to, but I have never setup a ssh server on Windows let a long try X forwarding from it. I have run Linux GUI on a Windows machine using ssh before. I thing I was using something like Xming. I'm pretty sure it will work on a Mac.
If you are just trying to access your through ssh in a GUI some file browsers like 'Nautilus' can access files using 'sftp'. This will be less taxing on you network.
As said on one of your other vids some hours ago, this is just impressive.
I mean I've no family or anything for whose Telnet/SSH could be useful and if so, I actually use VNC, but seeing this makes me realize what the differences between a multiuser OS (in the same manner as the public thinks about it) and Unix multiuser abilities are (although you can also notice this when setting up a VNC server on a Unix/Linux system).
@MetalShreader: I you are using VirtualBox, there are some settings you have to change and a background process you have to run to have the port forwarded to the virtual machine. I did it once. I'll put it on my list of tutorial to make :)
@AndPious: Learning is always a good thing, and there is always something new to learn (And some old things you forgot).
Yeah, just log in and run espeak. Of course you'll need a user name and password to long in with. And if he doesn't already have espeak installed you'll need an account that has permission to install it.
Thanks for the video, i really like, ssh, from what i know, can't wait, to learn more. How is it that you're motd changes...that's neat ! Happy newyear. :)
@SoSlipknot it was a little unclear that the server side had to be installed to the computer that i wanted to connect to but i fiddled with it and it works
nice lil tut to get sum1 into this, thnx im gonna use this i wonder if you cld play games thou?
learninjava 4 weeks ago
@learninjava: Yes, and no. Playing a fancy 3D first person shoot probably wouldn't work to well. But, something like tetris might should work if you have a good connection.
metalx1000 4 weeks ago
Thanks for the tutorial, it was real easy to understand :)
Just one question: will Bash also somehow run on Windows 7?
I want to connect to my server via my gaming desktop.
marcoooootje1 2 months ago
@marcoooootje1: Yes, There is a thing called "cygwin" that is a Linux-like environment for Windows. But, if you are just trying to ssh, look at "putty".
metalx1000 2 months ago
Thanks metalx
tony757575 7 months ago
Can I SSH into it with the MAC address?
theif519 9 months ago
@theif519: Not that I know of, but you can use the host name if you are both on the same local network. example, if your host name is "theif519" you should be able to ssh to it like this:
ssh theif519@theif519.localhost
your host name is what is just after the @ in the terminal on most systems. Just add the .local to the end of it instead of using the ip address which may change if you don't make it static.
metalx1000 9 months ago
I've got my laptop to SSH into my desktop but not the other way around. It seems that Fedora closes SSH port by default or it's because it's filtered, and Ubuntu keeps it open. How do I open the SSH port in Fedora so I can access from Ubuntu? I've tried ssh 192.168.1.4 on the laptop and it got in easily but ssh 192.168.1.7 on my desktop won't work, nor does it work if I put theif519@192.168.1.7
theif519 9 months ago
@theif519: ssh is a daemon(a service) that needs to be started. Some Distros start it up automatically once it's installed, but some you need to start yourself. On Debian based distros (Ubuntu) the service is usually started like this:
/etc/init.d/ssh start
on Redhat based distros (Fedora) I think it's this:
/etc/rc.d/init.d/sshd start
To get it to start up automatically you'll need to add it to the start up processes.
you can google how to do it.
metalx1000 9 months ago
@theif519: You also may want to check the sshd config file. There are options in there that tell ssh what users are allowed to connect and other settings such as only allowing certain ip's to connect. I'm not familiar with what Fedora has set as the defaults.
metalx1000 9 months ago
awesome,, cheers
Hidden87Treasure 10 months ago
Thanks man!
H4x0r18 10 months ago
I'm going to come back to this when I get my dad's laptop in which he completely gave up on because he had a simple rogue AV. Even though I got rid of it, he doesn't have WiFi anymore. Going to install Ubuntu on it or even Arch Linux to experiment. Anyway... Yeah, I want to learn more about stuff like this, never used SSH except for my iPod Touch, and even then I don't understand how it works.
theif519 10 months ago
How do I find my computer IP. I'm running Ubuntu 10.10.
TheAppleRock 1 year ago
@TheAppleRock: One way would be to type 'ifconfig' int he terminal.
metalx1000 1 year ago
@metalx1000 Thank You so much!
TheAppleRock 1 year ago
@TheAppleRock : /sbin/ifconfig -a will show u the ip address
but remember u will need the ip of the remote machine not yours
or u can use the remote machine's computer name instead of its ip address
............
hope this help u
Hidden87Treasure 10 months ago
@Hidden87Treasure Thanks it helped me a lot!!!
TheAppleRock 10 months ago
This has been flagged as spam show
@TheAppleRock : /sbin/ifconfig -a will show u the ip address
but remember u will need the ip of the remote machine not yours
or u can use the remote machine's computer name instead of its ip address
Hidden87Treasure 10 months ago
This has been flagged as spam show
@TheAppleRock @TheAppleRock : /sbin/ifconfig -a will show u the ip address
but remember u will need the ip of the remote machine not yours
or u can use the remote machine's computer name instead of its ip address
Hidden87Treasure 10 months ago
This has been flagged as spam show
@TheAppleRock @TheAppleRock : /sbin/ifconfig -a will show u the ip address
but remember u will need the ip of the remote machine not yours
or u can use the remote machine's computer name instead of its ip address
Hidden87Treasure 10 months ago
I just ssh'd my jailbroken iphone :D i saw all the files on it to. Not quite sure how to copy them to my computer yet, but I'll figure it out.
MetalShreader 1 year ago
@MetalShreader: SCP or SFTP. Some File Browsers (example Nautilus) allow for sftp transfer. I have videos on it, just search through my videos for 'sftp'.
metalx1000 1 year ago
thats dope, didnt no u can run gui with ssh
gotbletu 1 year ago
@gotbletu: Yeah, it's not always the fastest. But it works well, and you can probable use '-c' compress the traffic. I like to 'ssh' in to my desktop with my Nokia N900 and open up a music player like Rhythmbox and use my phone like a remote.
Nicer then VNC too. I can't stand VNC unless you are showing someone how to do something. Other wise you just get in the way. With SSH you can log in, run the GUI programs without the need for the local user of the machine to stop what they are doing.
metalx1000 1 year ago
@metalx1000 does this work on controlling windows machine also? i usually have to help my bro in a different state using Teamviewer, and that thing usually disconnects every like 15mins and i have to tell him to connect again gets annoying when im fixing his crappy vista machine lols
But this looks nice for when im at class i can access my files, is there any security options to configure if ur accessing away from home?
gotbletu 1 year ago
@gotbletu: I would guess there is a way to get it to, but I have never setup a ssh server on Windows let a long try X forwarding from it. I have run Linux GUI on a Windows machine using ssh before. I thing I was using something like Xming. I'm pretty sure it will work on a Mac.
If you are just trying to access your through ssh in a GUI some file browsers like 'Nautilus' can access files using 'sftp'. This will be less taxing on you network.
metalx1000 1 year ago
@metalx1000 Thanks for links and info, ill look into it
gotbletu 1 year ago
Show me how to make a bash script that ssh's me into a computer. I don't understand the key gen part....
Droz42 1 year ago
Would it be possible to transfer files from one machine to another using "mv" command?
Cryptoxicon 1 year ago
@Cryptoxicon: Only if you have network files shared and mounted.
A good way to copy files from one system to another is by using 'scp'
You'll need sshd running on the remote system then:
scp file.txt user@ipaddress:
This is fully encrypted and very safe.
another option would be sftp which also is using sshd.
I'll see if I've made videos on them.
metalx1000 1 year ago
I like how you say: "that's basically that, but encrypted." ))))
Sousleek 1 year ago
As said on one of your other vids some hours ago, this is just impressive.
I mean I've no family or anything for whose Telnet/SSH could be useful and if so, I actually use VNC, but seeing this makes me realize what the differences between a multiuser OS (in the same manner as the public thinks about it) and Unix multiuser abilities are (although you can also notice this when setting up a VNC server on a Unix/Linux system).
Great vid again, +1 :]
MegaManNeo 1 year ago
I tried this with a virtual machine, and all I get is "port 22: connection timed out".
MetalShreader 1 year ago
@MetalShreader: I you are using VirtualBox, there are some settings you have to change and a background process you have to run to have the port forwarded to the virtual machine. I did it once. I'll put it on my list of tutorial to make :)
metalx1000 1 year ago
Just press CTRL-D to exit
viyuden 1 year ago
Useful tutorial, thank you!
FaintSnow 1 year ago
@FaintSnow: You're welcome.
metalx1000 1 year ago
@AndPious: Learning is always a good thing, and there is always something new to learn (And some old things you forgot).
Yeah, just log in and run espeak. Of course you'll need a user name and password to long in with. And if he doesn't already have espeak installed you'll need an account that has permission to install it.
metalx1000 1 year ago
You can use 0 instead of locahost or IP when connecting to yourself..
i.e.
ssh 0
:-)
damoos 1 year ago
@damoos: Wow, I did not know that. That is going to be very helpful. Thanks!
metalx1000 1 year ago
@metalx1000 No problem.. I use ssh on Solaris all the time. Its always good to share the knowledge..
damoos 1 year ago
keep uploading videos!!! your python videos and bash videos are great!
fantasyleague0629 1 year ago
GJ!
Adrianisv 2 years ago
Thanks for the video, i really like, ssh, from what i know, can't wait, to learn more. How is it that you're motd changes...that's neat ! Happy newyear. :)
qcjn 2 years ago
Thanks a lot. Your videos are great.
egghead152 2 years ago
No Problem, many more to come.
metalx1000 2 years ago
thanks meatalx 1000 your videos are the reason i swicthed to Linux and what gave me the basic starter knowlage and have a great new year
SoSlipknot 2 years ago
@SoSlipknot it was a little unclear that the server side had to be installed to the computer that i wanted to connect to but i fiddled with it and it works
SoSlipknot 2 years ago
Thanks metalx1000, great vid as usual.
Hope you have a great new year and looking forward to more of your very helpful tuts.
fummo1970 2 years ago
Thanks for this vid :D
UbuntuHelpGuy 2 years ago