You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alexander Frank edited this page Mar 19, 2019
·
1 revision
Tips and Tricks for SSH usage
Execute local scripts on remote Host
ssh -t name@greatserver.com "$(< ~/setup.sh)"
The t option is required only if an interactive session is required. It allocates a pseudo terminal (PTY).
The target script is piped directly to the remote and is executed locally.