• Valid

    exactly what I was looking for.
    thanks for sharing!

  • E5z8652

    s/port 21/port22/g

    (port 21 is FTP)

  • Bård

    Helped me too. Thanks!

  • Eizt

    Thanks!

    Eizt by redeyesofangel.tistory.com

  • anthonvanderneut

    Port 21 is for FTP, ssh by default takes 22

    • http://www.craiglotter.co.za/ Craig Lotter

      Oops, typo. Rectified! :)

Related Posts:

  • SCP is a powerful utility that allows us to securely copy files between remote machines. What makes it even more powerful is the ability to add it to scripts and so for today's quick tutorial I will walk you through how you can go about either copying files from or to a remote machine with the use of SCP. Now norm ...

  • Although port 21 is the default port used for SSH connections and thus SCP, most of the time you will find that in order to increase protection, the actual assigned port is far removed from the default 21. So how do you specify this when running a SCP copy operation? Well SSH has the lowercase -p switch that all ...

  • If you have a closed machine that doesn't allow MySQL connections from the outside world but does allow SSH access in to the box, say hello to the world of SSH tunneling. The concept is simple. Bind one of your local machine's port via a SSH connection to another box on the outside. For example: [bash]ssh -N ...

  • When attempting to copy a non-empty directory in Ubuntu using the cp command, you will be presented with the following error message: cp: omitting directory mydirectory To force the copy cp command to handle the non-empty directory correctly, you need to force the recursive switch using -R So you should b ...

  • Changing the hostname of your Ubuntu server installation is a pretty simple affair. To view the current hostname of your system, simply enter hostname. Now to affect a termporary change of hostname, you could simply use: sudo hostname mynewhostname However, be careful here as this is really just a temporary hostn ...

 
       

Craig Lotter is an established web developer and application programmer, with strong creative urges (which keep bursting out at the most inopportune moments) and a seemingly insatiable need to love all things animated. Living in the beautiful coastal town of Gordon's Bay in South Africa, he games, develops, takes in animated fare, trains under whichever martial arts dojo is closest at the time, and for the most part, simply enjoys life with his amazing wife and daughter.

Oh, and he draws ever now and then too.

This is a collection of things that he has managed to find the time to scribble down since 2007.

Looking for Something?

Jump to Category:

 
©2007-2013 Craig Lotter