How to send SSH commands to remote host, ssh Automation

2017-10-15 03:58


This is very useful for automating tasks in remote machines or to gather remote info from many machines at once.


ssh root@ 'uptime'

For multiple commands

ssh root@ 'uptime ; df -h'


Works best with passwordless SSH




Tags: Automation, remote ssh commands, ssh, ssh commands
Average rating 0 (0 Votes)

You cannot comment on this entry