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
LVM basic
Viewed 1364 times since Sat, Jun 2, 2018
logrotate Log Rotate Configuration
Viewed 2391 times since Sun, Jan 12, 2020
Use inotify-tools on CentOS 7 or RHEL 7 to watch files and directories for events
Viewed 12507 times since Fri, Jul 27, 2018
Script to Offline and Remove A Disk In Linux
Viewed 1042 times since Mon, Jan 28, 2019
Prosty skaner portów TCP w bash
Viewed 2410 times since Thu, May 24, 2018
RHEL7 slow ssh login
Viewed 3158 times since Tue, Aug 6, 2019
debian How to Upgrade Debian 8 Jessie to Debian 9 Stretch
Viewed 1529 times since Sun, Sep 23, 2018
ZFS: Verify/change properties of a zfs filesystem
Viewed 1826 times since Sun, Jun 3, 2018
An easier way to manage disk decryption at boot with Red Hat Enterprise Linux 7.5 using NBDE
Viewed 5423 times since Mon, Aug 6, 2018
Top 10 darmowych i publicznych serwerów DNS
Viewed 1519 times since Tue, May 22, 2018