
10-22-2008, 10:07 PM
|
| Junior Member | | Join Date: Sep 2009
Posts: 0
| |
Re: SSH client insists on /dev/tty On 2008-10-22, Simon Tatham wrote:
> Stephan Mann wrote:
>> debug1: read_passphrase: can't open /dev/tty: No such device or address
[..]
>>
>> sh-3.2# ps
>> PID TTY TIME CMD
>> 717 ? 00:00:00 sh
>
> ps _is_ getting it right: it's showing you - accurately - that your
> official controlling terminal is not set, even though all your file
> descriptors are what you want them to be.
Thank you very much for your explanation. I guess I'll have to learn about
terminals in Linux.
> If I needed to solve this problem, I'd use a small utility of my own
> which allocates a pseudo-terminal and runs a subprocess inside it.
> Unfortunately, I've never got round to publishing that utility
> properly on my website, but if you can access Subversion servers you
> should be able to get hold of it by checking out
>
> svn://svn.tartarus.org/sgt/filter
Nice! I'll definitely take a look. I did a checkout and will report back
as soon as possible but unfortunately I will be offline for a few days.
many thanks again,
stephan |