sshpass is not working

When you are tying to sshpass from another machine. You may suffer from Following problem:-

When you enter a command for sshpass , you will not get prompt of new machine you wanted to login.You will get a prompt of your current machine.


root@local$  sshpass -p ‘password’ ssh usenarme@

after fired this command  get a prompt of your current machine.




In that case.Login to your machine you want to sshpass.

install sshpass (sudo apt-get install sshpass)

After installation , please reboot your machine.(that is the most important thing )

and try the sshpass command again.

You will be able to login your desired machine.


root@local$  sshpass -p ‘password’ ssh usenarme@

you will get a prompt .


The above prompt is the prompt of a machine.You wanted to  login using sshpass.




Install and setup DevStack on Linux

Step 1:

Take a fresh/new Linux machine/virtual machine.

Step 2:

Install  ‘git’ on that machine.  (sudo apt-get install git)

Step 3:

Download/clone DevStack using git.

(git clone

Step 4:

You will found a ‘devstack’ directory.

Go to that directory.(cd devstack)

You will find a file ‘stackrc’.

Do following changes in that file.

you will find  a line -GIT_BASE=${GIT_BASE:-git://}’

line number may 169(may variable).

Remove/comment out this line.

Insert the line – ‘GIT_BASE=${GIT_BASE:-}’


Step 5:

Copy the file local.conf from ‘devstack/samples’ directory to ‘devstack’ directory and remove the rest contents and put only the following lines in it :










Step 6:

Run devstack and ./ with non sudo user (strictly))

./ will ask you for password 5-6 times.

Provide the same password all the time.

It will take around 30-45 mins to run the script.

Step 7:

After successful installation at the end, it will show you following

4 important things.

host ip, Horizon’s (devstack’s dashboard) ip address ,default users,password.

Save those things , those will be require in future to run any devstack commands.




Good source of knowledge and problem solver for software engineers.