Categories
Linux Open Source Solutions

ssh-copy-id – Perform SSH Login Without Password

If you regularly ssh to same system, ssh-copy-id allows you to login to the system directly without having to type the password each time. ssh-copy-id is a small script which copies your ssh public-key to a remote host. It appends the key to your remote authorized_keys enabling you to login without having to type your password each time.

Use it by running the following command: ‘ssh-copy-id tech@192.168.1.1‘ where ‘tech’ is the username of the remote system and ‘192.168.1.1’ its IP address. The command will ask you for the remote machine‘s password(one last time).

$ ssh-copy-id tech@192.168.1.1
tech@192.168.1.1’s password:

Now try logging into the machine, with “ssh tech@192.168.1.1“. You should get the remote systems command prompt.

Categories
Linux Ubuntu

Choqok – Patch for Twitter API 1.1


This file is created by Roozbeh Shafiee for Ch...

With the recent move by Twitter to support only clients that use its API version 1.1, Choqok has stopped updating feeds in its latest official build. There is frantic work going on in the background to get the support up and running but till its available via official channels here is a quick way to get Choqok working again.

Categories
Linux Solutions

Kate: Not allowing to Edit Specific Files – Solution



Recently I encountered an interesting problem with Kate. When ever I opened certain files it opened them in read only mode. The files had the necessary permissions to let me write and I could open them in nano or vim and edit them successfully.

There can be multiple reasons for this happening:

  • File is in use in some program (known to cause problems with Kate)
  • File is a PHP file and being accessed somewhere
  • File has more than 1024 characters in a line. (The limit might vary but after a point the files are opened as read only)
Categories
Linux Open Source Solutions Web

Using Static IP Address On Ubuntu



By default most unix boxes now come with dynamic IP enabled for all its networking needs. This is a very useful configuration but at times it helps to know that a system’s IP will remain the same no matter what changes occur around it. A classic example of this case can be a server.

In any case if you want to change your unix box to use static IP the following simple steps will get your task done:

Categories
Linux Open Source Solutions Web

Fixing WiFi regulatory rule in Unix

Wifi routers usually specify the regulatory rules for all devices connected to their network. In rare cases a router may go rouge and specify the wrong regulatory domain, which might effect the quality of the connection and at times may make the network unreachable even if the network says that its connected.

Below are the debug messages from the command “dmesg” in one such case: