• 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
Providing passwords to shell commands
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Providing passwords to shell commands


  • Subject: Providing passwords to shell commands
  • From: Rob Werner <email@hidden>
  • Date: Tue, 08 Jul 2003 12:52:54 +1000

Hey all,

I'm trying to write a script that will SSH to a remote machine, and then
issue a "reboot" command. However, both the SSH command and the reboot
command require the user password for the remote machine to be entered after
the command is issued. I have been unable to work out how to provide this
password to the Terminal via AppleScript. Is this even possible?

Regards,

-Rob
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Providing passwords to shell commands
      • From: Sander Tekelenburg <email@hidden>
  • Prev by Date: Re: Creator type of packaged app bug?
  • Next by Date: Re: Creator type of packaged app bug?
  • Previous by thread: copy Mac HD to remote share
  • Next by thread: Re: Providing passwords to shell commands
  • Index(es):
    • Date
    • Thread