Setting up SSH keys

Sometimes you work with your remote host so much, that having to enter a password every time becomes a real pain. If that is the case, you should follow with this instructions to set up automatic handshake with your remote host.

First off, you have to have OpenSSH on both the host and your local machine. SSH into your remote host to create the .ssh” directory in your home folder.

Now we are going to use the SSH Key Generator to create the authorized key.

You will be prompted to enter a passphrase for this identity key. Choose something hard to break.

Now all you have to do is copy the identity key to the remote host.

Of course, you will replace myuser@remove.host.com” with your actual remote host’s access information. Now, you will run a simple script that will tell the remote host which identity it should use, and also starts a new shell that will enable you to SSH to the remote host without entering any passwords.

Now try typing “ssh myuser@remote.host.com” and you will see that you are all set.

Using Linux Shell to Add a User

Hiya all. As I continued to work with my remote server’s shell, a new issue arose. I needed to add a new user to my system.

So, suppose that you want to add Mr. Friend to your system via bash:

Okay, now you need to set a password for our friend:

You will be prompted to enter the password and confirm it.

However, to do all this you need to be root. To do so, before entering any of these, type:

Don’t forget the ““, because otherwise you will get a “command not found” when you issue “useradd”.

Note: On some systems the command is “adduser” instead of “useradd”.

GNOME Shell: A Sneak Peak

Hi all. This is my last post – hopefully – with my Toshiba Satellite, which is a borrowed laptop. I’ll be getting back my own Vaio-Z laptop tomorrow after about 90 days, and already my fingers are itching to touch its smooth and easy keyboard.

Anyways, as I am going to give this laptop back tomorrow morning, I installed the new Ubuntu release, Karmic Koala on it. It runs very satisfyingly. Of course, I’ve not had the time to really test things in it, but almost everything works out of the box, and the boot time is a real boost. I was skimming through GNOME live, as is my habit, when I saw the article title GNOME Shell. Now, I searched a bit here and there, and found out that it is actually supposed to replace the original GNOME desktop by GNOME 3.0.

To test it under your Ubuntu, you have to install it:

Then, you have to run it as a replacement for the original GNOME desktop:

After that, you will see something like this:

GNOME Shell in action

As you can see, there is now only one panel available, and it’s placed on the top of the screen. There are two main hot spots on the panel:

  1. On the left side you can see the “Activities” button,
  2. On the right side you can see the user menu.

Hovering over (or clicking on) the “Activities” button/area will bring up the Overlay view, a full-screen view which will give you some interesting new ways of interacting with your PC. It looks something like this:

GNOME Shell's overview area

On the left side, you have a flat sidebar featuring a search box, an applications’ pane, a places area, and a recently opened files list. On the applications pane, you can use the “More” button to see something like the old Applications menu in the traditional GNOME desktop. On the right side, you can see the “Overview” area which gives you an overview of all your workspaces and all the applications running on them.

All in all, it has a rather neat design and shows promise of a more innovative desktop. However, it is still ways from what Jeremy has proposed. Also, I think the whole top panel is a waste, as it is. I have seen it being put to very good use by the netbook-launcher application which uses it as the common area for the maximized windows’ title bars. Also, with GNOME shell we cannot switch between open windows without the keyboard and without going to the Overlay perspective, which can be amended by placing the icon’s of these application in the top panel.

This shell also features a sidebar, which is very much a work in progress. In fact, I think of it more as a draft of something which might become available in a future not so near.

All said, I like it. It is creative, it is simple, and man, it is cool! And I’ll definitely be looking forward to working with it when GNOME 3.0 is released.