• 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: VB or c++ call in script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VB or c++ call in script


  • Subject: Re: VB or c++ call in script
  • From: David Hood <email@hidden>
  • Date: Mon, 20 Sep 2004 12:56:22 +1200


On 20/09/2004, at 12:47 PM, Gnarlodious wrote:

Entity Johnny AppleScript spoke thus:

Can it? I have been unable to create an SSH tunnel via AS. Is there a method
you can share for this?
I've also been trying to logon SSH with Applescript but luck. The best I can
do is to write the command to the clipboard and paste it in Terminal.


If there's a way I'd like to know.


Well, with 10.3 the command line includes the expect module for controlling interactive sessions, this should let you control ssh.
Prior to 10.3 I have installed pexpect (a python expect module) on the controlling machine and scripted ssh through applescript via python (a kludge, but a working one).


David H.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: VB or c++ call in script
      • From: Johnny AppleScript <email@hidden>
References: 
 >Re: VB or c++ call in script (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: VB or c++ call in script
  • Next by Date: Re: Removing dupes
  • Previous by thread: Re: VB or c++ call in script
  • Next by thread: Re: VB or c++ call in script
  • Index(es):
    • Date
    • Thread