SSH tip: Send commands remotely
When connecting to a system remotely using SSH (Secure Shell), usually you provide the SSH command string to log in to the system and then execute commands on the remote system using the current SSH session. This is the standard behavior and is good for performing system management tasks that take more than just a few steps, but sometimes you might only need to log in and run a single specific command or script.
For example, if you would like to check a Mac’s process activity by using the “top” command, you would perform the following steps in the Terminal:
Run the command “ssh…
Continued here: SSH tip: Send commands remotely
Recent Comments