• 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: Sherm Pendley <email@hidden>
  • Date: Fri, 12 Sep 2003 18:55:30 -0400

On Friday, September 12, 2003, at 3:31 PM, Fritz Anderson wrote:

I _could_ set the DISPLAY and helper-tool environment variables to point to a little tool that echoes the password I want to send

Close, but not quite. SSH looks for an environment variable of its own - I forget the name - and if it's defined, will use the value as the path of a helper app to use. The helper app can use any interface toolkit you want; X, GTK, Qt - or Cocoa.

, 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.

A great example of doing it the Right Way is Bill Bumgarner's SSHPassKey utility.

sherm--
_______________________________________________
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.

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>)
 >Re: Pseudo-tty as piped to NSTask -- help? (From: Fritz Anderson <email@hidden>)

  • Prev by Date: AppleScripting text storage
  • Next by Date: Re: Country code or name
  • 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