How do you use applescript for ssh?
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.