1

I use ssh to run some command remotely,something like this:

ssh user@host 'sudo command'

after that, I got this line shown in the shell:

'unknown': I need something more specific.

what does it mean? I'm sure it's the result of the execution of the command, should be something related to ssh itself.

0

Its an old question without a valid response, hence answering it now.

The response - "'unknown': I need something more specific" is mostly coming from ncurses / curses library. The reason you are getting it is - there is no valid terminal at the remote.

To get rid of such issues, use -t (or -ttt) with your ssh command.

ssh -ttt user@host 'sudo command'
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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