I set up a bamboo box and am working on a deployment task. If I try to run any sudo command from the SSH task, I get the following error: "sudo: no tty present and no askpass program specified Sorry, try again."
I have read through some fixes:
Anybody know how I can acomplish any of those tasks. I need to be able to run some sudo commands on remote server.
Thanks.
If you using putty gen to create your private key. You need to save it in open ssh format. Conversions -> Export OpenSSH Key
IMHO you should tune your remote server.
You can try this approach:
http://askubuntu.com/questions/159007/how-do-i-run-specific-sudo-commands-without-a-password
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also experiencing this issue.
Any luck on solving this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I too am having this issue and have read through these fixes with the same results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.