SSH: Execute Remote Command or Script – Linux
Article Number: 480 | Rating: Unrated | Last Updated: Mon, Feb 18, 2019 2:24 PM
to ROCK? Start a GUI (graphical) application on a remote Linux workstation over SSH! Read more →
Example
Execute the local script.sh
on the remote server:
$ ssh root@192.168.1.1 'bash -s' < script.sh
Posted - Mon, Feb 18, 2019 2:24 PM. This article has been viewed 1756 times.
Filed Under:
Linux
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Related Articles

How To Ping Specific Port Number
Viewed 2668 times since Mon, Jun 1, 2020
LOGROTATE – ARCHIWIAZACJA LOGÓW
Viewed 1428 times since Fri, Nov 30, 2018
RHEL: Resize/disable /dev/shm filesystem
Viewed 11979 times since Sun, May 27, 2018
Understanding logrotate utility part 1
Viewed 1246 times since Fri, Nov 30, 2018
Super Grub2 Disk
Viewed 2275 times since Wed, May 22, 2019