Skip to content

Instantly share code, notes, and snippets.

@kyagi
Created October 16, 2012 16:25
Show Gist options
  • Select an option

  • Save kyagi/3900356 to your computer and use it in GitHub Desktop.

Select an option

Save kyagi/3900356 to your computer and use it in GitHub Desktop.
Apple script to login server
tell application "Terminal"
do script "ssh SERVER_NAME"
do script "cd /tmp" in front window
do script "date" in front window
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment