• 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
How do you use applescript for ssh?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do you use applescript for ssh?


  • Subject: How do you use applescript for ssh?
  • From: montana <email@hidden>
  • Date: Mon, 3 Feb 2003 19:29:50 -0600 (CST)

Hi Everyone-

i was wanting to write a script that opens a terminal window and then makes a connection to another computer through ssh. This is what I got so far:
tell application "Terminal"
activate
do shell script "ssh username@host"
end tell

This gets as far as the password question, but I'm not sure how to pass a password to ssh using to applescript. Basically I want a one stop automatic ssh connection. Any ideas how to get this to work?

Thanks.
SA
:)
_______________________________________________
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: Stay Open Script Applications & Events
  • Next by Date: Re: Script Debugger: Erroneous error
  • Previous by thread: Re: Script Debugger & Satimage: Erroneous error
  • Next by thread: Scripting Address Book
  • Index(es):
    • Date
    • Thread