• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pseudo-tty as piped to NSTask -- help?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Pseudo-tty as piped to NSTask -- help?
      • From: Sherm Pendley <email@hidden>
    • Re: Pseudo-tty as piped to NSTask -- help?
      • From: Chris Ridd <email@hidden>
References: 
 >Pseudo-tty as piped to NSTask -- help? (From: Fritz Anderson <email@hidden>)
 >Re: Pseudo-tty as piped to NSTask -- help? (From: Thomas Deniau <email@hidden>)

  • Prev by Date: Localization of Edit-Menu
  • Next by Date: Re: Cocoa Code For AIFF
  • Previous by thread: Re: Pseudo-tty as piped to NSTask -- help?
  • Next by thread: Re: Pseudo-tty as piped to NSTask -- help?
  • Index(es):
    • Date
    • Thread