• 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: Jean-Baptiste LE STANG <email@hidden>
  • Date: Mon, 20 Sep 2004 08:37:51 +0200

and what about using SSH authentication keys ?

++ JB
Le 20 sept. 04, à 02:38, Johnny AppleScript a écrit :

On 04/09/19 4:38 PM, "Paul Berkowitz" <email@hidden> wrote:

Can it? I have been unable to create an SSH tunnel via AS. Is there a method
you can share for this?

If there's a way you can do it in the Terminal, then you can do it by
AppleScript. So if you can share how to do it by a command in the Terminal,
or a shell script that can be read by a command line in terminal, then it
should be possible by AppleScript and I could tell you how, probably.

I had guessed you could do it by triggering a shell script, but that's not
as convenient as direct from AS for obvious reasons.


For the fun of it though, how about just a simple login and do one thing
script, just to be sure it can be done purely in AS.


sudo ssh email@hidden <-- login line in terminal
--> returns call for local admin password; this is where AS breaks down
unless you pass calls to an actual window in Terminal.app
[email@hidden's password] <-- now you need to give the password
for the ssh user login


killall Dock <-- if you can get in, you can kill any app by its exact
name


    logout <-- always good to logout

If the above were somehow able to work via AS without going into a visual
session in Terminal or writing additional shell scripts, which also require
compiling, that would be awesome.




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


This email sent to email@hidden


_______________________________________________ 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: Johnny AppleScript <email@hidden>)

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