sshpass installation

2

I want to use passwordless SSH for logging in. I used sshpass to achieve this.

The problem is when I am trying to install sshpass through sudo apt-get install sshpass. It asks for password.

After I enter the password, the following message is getting displayed:

Santosh_Nayak05 is not in the sudoers file.  This incident will be reported.

I desperately want to use sshpass. I am new to Unix. Can any body tell me what is sudoers file and how I can install and use sshpass?

user1760929

Posted 2012-11-21T05:02:45.530

Reputation: 121

Answers

1

From the looks of things you don't have sudo access to install sshpass in your environment (Is this a school's server you are on?)

Your alternatives are:

sampson-chen

Posted 2012-11-21T05:02:45.530

Reputation: 359

thank you for your reply . actually me working in a small project which uses terminal for interact with server.is there any way to install sshpass . As i am new to unix http://paulkeck.com/ssh/ looks complicated to me and expect script is also beyond me.

– None – 2012-11-21T05:33:06.260

yes me working in a office server where i don't have the sudo access – None – 2012-11-21T05:35:16.147