Added: 2 years ago
From: metalx1000
Views: 11,345
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (53)

Sign In or Sign Up now to post a comment!
  • nice lil tut to get sum1 into this, thnx im gonna use this i wonder if you cld play games thou?

  • @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.

  • 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: 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".

  • Thanks metalx

  • Can I SSH into it with the MAC address?

  • @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.

    you can google how to do it.

  • @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.

  • awesome,, cheers

  • Thanks man!

  • 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.

  • How do I find my computer IP. I'm running Ubuntu 10.10.

  • @TheAppleRock: One way would be to type 'ifconfig' int he terminal.

  • @metalx1000 Thank You so much!

  • @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 Thanks it helped me a lot!!!

  • 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: SCP or SFTP. Some File Browsers (example Nautilus) allow for sftp transfer. I have videos on it, just search through my videos for 'sftp'.

  • thats dope, didnt no u can run gui with ssh

  • @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.

  • @metalx1000 Thanks for links and info, ill look into it

  • Show me how to make a bash script that ssh's me into a computer. I don't understand the key gen part....

  • Would it be possible to transfer files from one machine to another using "mv" command?

  • @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.

  • I like how you say: "that's basically that, but encrypted." ))))

  • 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 :]

  • I tried this with a virtual machine, and all I get is "port 22: connection timed out".

  • @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 :)

  • Just press CTRL-D to exit

  • Useful tutorial, thank you!

  • @FaintSnow: You're welcome.

  • @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.

  • You can use 0 instead of locahost or IP when connecting to yourself..

    i.e.

    ssh 0

    :-)

  • @damoos: Wow, I did not know that. That is going to be very helpful. Thanks!

  • @metalx1000 No problem.. I use ssh on Solaris all the time. Its always good to share the knowledge..

  • keep uploading videos!!! your python videos and bash videos are great!

  • GJ!

  • 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. :)

  • Thanks a lot. Your videos are great.

  • No Problem, many more to come.

  • 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 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

  • Thanks metalx1000, great vid as usual.

    Hope you have a great new year and looking forward to more of your very helpful tuts.

  • Thanks for this vid :D

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more