Difference between revisions of "Ssh remote command"
From thelinuxwiki
(Pushed from Themanclub.) |
Latest revision as of 18:19, 17 May 2013
run command remotely, output local std out
# ssh -l username <remote hostname|IP> command1; command2
example:
# ssh -l username 192.168.1.1 hostname; df -k