Skip to content

Instantly share code, notes, and snippets.

@ayrilmaz
Created July 4, 2021 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayrilmaz/dbc1bfd99f76a040621d6108f379f59a to your computer and use it in GitHub Desktop.
Save ayrilmaz/dbc1bfd99f76a040621d6108f379f59a to your computer and use it in GitHub Desktop.
Apple Script open ssh terminal
set servers to {"192.168.10.1", "192.168.10.2", "192.168.10.3", "192.168.10.4"}
set server to choose from list servers with prompt "Sunucu seç:" default items {"192.168.10.1"}
tell application "Terminal"
set currentTab to do script ("ssh root@" & server)
delay 3
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment