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
7 Tips – Tuning Command Line History in Bash
Viewed 4899 times since Fri, Jul 5, 2019
3 Ways to Check Linux Kernel Version in Command Line
Viewed 11273 times since Fri, Apr 19, 2019
How log rotation works with logrotate
Viewed 4551 times since Fri, Nov 30, 2018
How to encrypt a partition using LUKS?
Viewed 1615 times since Fri, Jul 13, 2018
How to sort IP addresses in Linux
Viewed 3292 times since Sun, May 20, 2018
How to maximise SSD performance with Linux
Viewed 8390 times since Fri, May 15, 2020
Installing and Configuring stunnel on CentOS 6
Viewed 3848 times since Fri, Sep 28, 2018
ZPOOL: Create a new zpool for zfs filesystems
Viewed 1961 times since Sun, Jun 3, 2018
What is yum-cron ?
Viewed 2468 times since Fri, Oct 26, 2018
How To Find Largest Top 10 Files and Directories On Linux / UNIX / BSD find
Viewed 3542 times since Mon, Oct 29, 2018