Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.