Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

migrated from stackoverflow.com Nov 21 '12 at 8:23

This question came from our site for professional and enthusiast programmers.

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:

share|improve this answer
    
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 paulkeck.com/ssh looks complicated to me and expect script is also beyond me. – user1760929 Nov 21 '12 at 5:33
    
yes me working in a office server where i don't have the sudo access – user1760929 Nov 21 '12 at 5:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .