SSH: Execute Remote Command or Script – Linux

to ROCK? Start a GUI (graphical) application on a remote Linux workstation over SSH! Read more →


Execute the local on the remote server:

$ ssh root@ 'bash -s' <
0 (0)
Article Rating (No Votes)
Rate this article
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
OCFS2 Cluster File System Setup Guide in Linux
Viewed 1657 times since Sat, Jun 2, 2018
SSH Essentials: Working with SSH Servers, Clients, and Keys
Viewed 1262 times since Wed, Jun 27, 2018
Linux – How to check the exit status of several piped commands
Viewed 1460 times since Wed, Jul 25, 2018
LVM: Extend SWAP size by growing existing Logical Volume
Viewed 761 times since Sat, Jun 2, 2018
15 Linux Yum Command Examples – Install, Uninstall, Update Packages
Viewed 1155 times since Thu, Oct 25, 2018
Securing /tmp and shm partitions
Viewed 223 times since Fri, May 15, 2020
Tcpdump Examples Linux
Viewed 2968 times since Fri, Nov 16, 2018
Procedura powiekszania OCFS2 online
Viewed 596 times since Fri, Jun 8, 2018
Linux Add a Swap File – HowTo
Viewed 4781 times since Fri, Jun 8, 2018
Need to set up yum repository for locally-mounted DVD on Red Hat Enterprise Linux 7
Viewed 871 times since Mon, Oct 29, 2018