≡ Menu

How to run Remote Commands on Linux

ssh nish@WS 'remote_command_here'

Examples:

ssh nish@WS 'uptime'
ssh nish@WS 'ls -ltrh'
ssh nish@nWS 'df -h'
ssh nish@WS 'cat /var/log/messages'

Comments on this entry are closed.

Next post:

Previous post:

Copyright © Nish Vamadevan 2002-2017. All Rights Reserved. Terms and Policies.