Posts Tagged ‘ssh’

Broken tab in ssh shell

No Comments »

I encountered an error on a shell I just purchase from an overseas supplier.  Whenever I pressed the tab key, I would get:

-sh: <( compgen -d — ‘Am’ ): No such file or directory
-sh: <( compgen -f -X  — ‘Am’ ): No such file or directory

Now, tab is a very very important tool for linux command line use, so I just had to fix it.

Read the rest of this entry »


Ssh private key authentication

No Comments »

Setup your Linux box to automatically login via ssh to servers you manange regularly.

First I setup some hosts.

sudo nano /etc/hosts

Add your hosts in the following format
1.2.3.4 example01
1.2.3.5 example02

Read the rest of this entry »