Hi
i've a script that i'm using a lot to connect to my server its simple, i've server with setting no-password SSH, so its like this
i want to make a command as soon as my Mac connect to the server, if i write new "do script" line, it will be performed locally on my Mac in other terminal window, so what to do to make my server do this command after the ssh connect ?
i've a script that i'm using a lot to connect to my server its simple, i've server with setting no-password SSH, so its like this
PHP:
tell application "Terminal"
do script "ssh user@host"
end tell
i want to make a command as soon as my Mac connect to the server, if i write new "do script" line, it will be performed locally on my Mac in other terminal window, so what to do to make my server do this command after the ssh connect ?
Last edited: