alfred-workflows-textshortcut icon indicating copy to clipboard operation
alfred-workflows-textshortcut copied to clipboard

tc problem

Open sdaza opened this issue 10 years ago • 4 comments

I get this error with tc:

[ERROR: alfred.workflow.output.script] 273:297: execution error: Pseudo-terminal will not be allocated because stdin is not a terminal.

Thanks!

sdaza avatar Sep 04 '15 13:09 sdaza

Hi @sdaza This error is returned by OS. If you run the exactly command in Terminal, it executes ok? The command was executed but probably, this command requires user interaction like password or other things. Maybe try executing with "sudo".

rtoshiro avatar Sep 04 '15 13:09 rtoshiro

Hi @rtoshiro, The command works in Terminal and leads to Password:. I am trying to connect to a server: ssh -Y server.

sdaza avatar Sep 04 '15 13:09 sdaza

Ok, but unfortunately, commands that prompts for stdin will not work. I have these kind of commands too with scp, and I use it without password. In fact, is more secure to disable ssh password login and access it through a key. But of course, you need to have a little bit of server access to configure it. Some hosts have this kind of feature by default. Well. Sorry. I hope I could help :) Best T

rtoshiro avatar Sep 04 '15 13:09 rtoshiro

Thanks @rtoshiro!

sdaza avatar Sep 04 '15 13:09 sdaza