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

Re: Providing passwords to shell commands


  • Subject: Re: Providing passwords to shell commands
  • From: Jean-Baptiste LE STANG <email@hidden>
  • Date: Tue, 8 Jul 2003 08:05:18 +0200

I've been facing the same problem lately, and was not able to find a solution, there is no way to provide a password to SSH either than typing it. What I 've done is open a new terminal window with the SSH command and the I wait and enter the password. I've also been looking for solutions on the web, they are solution on the web (a simple google with "SSH+Applescript" should make it) but working only for Pre X.2 OS, you might be able to adapt them for OS X.2 (and if you do , please let me know it :=) )

JB


Le mardi, 8 jul 2003, ` 07:00 Europe/Paris, email@hidden a icrit :

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

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.

  • Prev by Date: Re: Creator type of packaged app bug?
  • Next by Date: Re: Creator type of packaged app bug?
  • Previous by thread: Re: Providing passwords to shell commands
  • Next by thread: URL Access Scripting-download
  • Index(es):
    • Date
    • Thread