Entries Tagged 'CLI' ↓

SSH on Window$.. .the smart way!

This will be a quick one… Do you use Linux over the command-line? Do you access remotely these machines using SSH? Are you sitting in front of a Windows computer? If your answers were yes to all three, I’m going to assume that you know the Putty software, and you already use it.. Now lets learn how to use it… the smart way!
Continue reading →



   Share This

Lock down! SSH lock down!

terminalEverybody that uses Linux, one way or another, will be using the command line for admin. Sure you can have those graphical tools to do the job, but there is nothing like the command line for this. And if you manage a couple of remote machines, the only way you can get with this, is using the command line via SSH. Although this is a discussed subject, I went to a few steps the other day, on a personal remote server, to improve SSH security, to a level I can sleep good at night. So let me show you what I did… Continue reading →



   Share This

I am the key master!

icon_keySince I acquired a hosting plan, with the great Dreamhost team, I’ve been creating some websites, experimenting with stuff, login in, login out, via terminal ssh and also using CyberDuck sftp client for Mac. And, even though I use Linux for a while now, sometimes laziness takes his best, and it seems like my brain goes numb! Let me explain… Every time I login on my server space, I type a username (if I’m in the terminal this part is skipped, because local user is the same in the remote server, thereby no need to specify user) and a password. This is cool, if you do it one or two times a day, but if you keep doing this a lot, and have a bunch of servers (working in system administration can do this for you =] ) to login, you will get tired typing all this username/passwords all the time! Believe me… Not to mention the fact that a password scheme, is bad for your security! Why not remove all the need for passwords, and use digital security keys? They are like your normal keys, but one keys does it all! Continue reading →



   Share This

Eyh!!! I own that!

usersNow that we know how to change object’s permissions, let’s take a look at how to change object’s ownerships. Like we have already learned, objects can have two types of ownerships: user ownership, and group ownership. We shall learn how to change both individually, and at the same time. Looks boring? Keep reading so I can change your opinion! (or not…)
Continue reading →



   Share This

It’s so symbolic!

permission trios (boring turorial table)To change file permissions, you simply need to know the chmod command. Its simple to learn, and there are two different modes to use it: a symbolic mode and a numeric mode. By now you have some hints, on how to use a little of both, so now we get into detail.
Continue reading →



   Share This