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.

2

1 Answer 1

1

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'

You must log in to answer this question.

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