SSH keys are a way to identify trusted computers, without involving passwords. The steps below will walk you through generating an SSH key and adding the public key to the server. Step 1: Check for SSH Keys First, check for existing SSH keys on your computer. Open Git Bash, Cygwin, or Terminal, etc.
This is quite a common task for Linux system administrators, when it is needed to execute some command or a local Bash script from a one Linux workstation or a server on another remote Linux machine over SSH.
In this article you will find the examples of how to execute a remote command, multiple commands or a Bash script over SSH between remote Linux hosts and get back the output (result).
This information will be especially useful for ones, who want to create a Bash script that will be hosted locally on a one Linux machine but would be executed remotely on the other hosts over SSH.
Cool Tip: Connect to a remote SSH server without typing a password! Configure a passwordless authentication! Only 3 easy steps! Read more →
Execute a remote command on a host over SSH: Grid 2 activation product key generator.
Get the uptime of the remote server:
Reboot the remote server:
Much more often it is required to send multiple commands on a remote server, for example, to collect some data for inventory and get back the result.
There are a lot of different ways of how it can be done, but i will show the most popular of them.
Run multiple command on a remote host over SSH:
– or –
– or –
Hi all, I have paid a Smart Array Advanced Pack from HP reseller. After installing the license to P410 controller, i see the license information ( picture ). Was i installed the license right way? How long does the license expire? I will appreciate any answer!!! Our company has bought servers ProLiant DL 160 G6. For install our company software on this servers I enable in BIOS RAID. One menu poin is 'Manage License Key'. What is License Key? What he has to RAID? Give me internet-links about this.
Cool Tip: SSH login is too slow? This can be fixed easily! Get rid of delay during authentication! Read more →
Get the uptime and the disk usage:
Get the memory usage and the load average:
Show the kernel version, number of CPUs and the total RAM:
The idea is to connect to a remote Linux server over SSH, let the script do the required operations and return back to local, without need not to upload this script to a remote server.
Certainly this can be done and moreover quite easily.
Cool Tip: Want to ROCK? Start a GUI (graphical) application on a remote Linux workstation over SSH! Read more →
Execute the local script.sh
on the remote server: