Execute a remote command over ssh
From SME Server
(Redirected from SSH:Execute a remote command over ssh)
Jump to navigationJump to searchExecute or run a command over ssh to a remote server and auto disconnect
ssh -t root@ip-sme-or-remote-hostname command
where 'command' is the program or command to run. An example could be:
ssh -t root@192.168.1.5 top