Re: Pseudo-tty as piped to NSTask -- help?
Re: Pseudo-tty as piped to NSTask -- help?
- Subject: Re: Pseudo-tty as piped to NSTask -- help?
- From: Fritz Anderson <email@hidden>
- Date: Fri, 12 Sep 2003 14:31:34 -0500
It works by going a completely different route -- if ssh is launched in
an X window environment it launches a helper applet to open a window to
solicit the password. gnome-ssh-askpass is an example of such an
applet.
I _could_ set the DISPLAY and helper-tool environment variables to
point to a little tool that echoes the password I want to send, which I
write out just for the purpose of spoofing ssh into thinking it's in an
X session... but that seems like the Wrong Thing. I'm hoping there's a
Right Thing available here.
-- F
On 12 Sep 2003, at 1:29 PM, Thomas Deniau wrote:
On Thu, 11 Sep 2003 16:46:50 -0500, Fritz Anderson wrote:
A job assignment has me writing an application that, at least for the
moment, has me putting a front end on the ssh tool, using the
typed-password authentication method. The ssh tool won't accept a
password unless its stdin stream is a tty.
Have you looked at the way gnome-ssh-askpass works ?
(just a thought... it might help you - it seems that you are doing the
same thing)
--
Thomas Deniau
"Unix is user friendly. It's just selective when choosing friends."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.