Skip to main content
Tweeted twitter.com/#!/StackUnix/status/177176475492036608
added 77 characters in body
Source Link
SWeko
  • 843
  • 1
  • 7
  • 7

I have an already established ssh connection between two machines.

Is there a way to send commands to the remote machine from a shell script that is run on the local machine, using the already open connection, and without starting another ssh session?

I have an already established ssh connection between two machines.

Is there a way to send commands to the remote machine from a shell script that is run on the local machine?

I have an already established ssh connection between two machines.

Is there a way to send commands to the remote machine from a shell script that is run on the local machine, using the already open connection, and without starting another ssh session?

Source Link
SWeko
  • 843
  • 1
  • 7
  • 7

Using an already established SSH channel

I have an already established ssh connection between two machines.

Is there a way to send commands to the remote machine from a shell script that is run on the local machine?