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
Android Hardware

Calibrate Your Android Device’s Battery For Longer Battery Life

Image representing Android as depicted in Crun...
Image via CrunchBase

Here is a simple way to recalibrate your Android Device’s Battery without rooting or installing any third party apps. It takes a little while to get done but is great in giving a good boost to battery life.

  1. With your Phone/Device on and charge it for 8 hours or more.
  2. Disconnect the charger.
  3. {adinserter 3}

  4. Turn your device off and reconnect your charger to it.  Charge it for one hour.
  5. Disconnect the charger.
  6. Turn on the device and wait 2 minutes.
  7. Turn your device off again and charge it for another hour.
  8. Disconnect the charger, turn the device on and use as normal.

Your battery life should now be a lot better 🙂

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
Hardware Solutions Ubuntu

Ubuntu Check Disk for BadBlocks & Errors

Toshiba HDD2189 2.5" hard disk drive plat...
Toshiba HDD2189 2.5″ hard disk drive platters, head and actuator arm. near 1:1 macro. (Photo credit: Wikipedia)

If your system regularly does ubuntu check disk or scan disks on boot up and if it often finds errors during the check, its highly possible that you have bad sectors on your hard disk.  In such cases its highly recommended to do a disk check to detect if you have bad sectors on the disk.

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)