Run script to ssh

Guy . D

I use a script to run a subscript. The subscript actually ssh's to WDcloud. After running subscript, I need to run certain commands in the ssh session of WDcloud. But after running the subscript which connects to ssh, the following lines are not running within the ssh session.

The script is something like:

#!/bin/bash
ssh2cloud.sh
commands_to_run_in_ssh
ADDB
ssh Server <<Limiter
Commands
You
Need
To
Run
Limiter

This should solve your problem. If you want to know more look at this

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

SSH : Remotely run a script and stay there

From Dev

Run bash script upon ssh

From Dev

run command in script after an ssh

From Dev

Run (system) script on SSH login and/or logout

From Dev

Remotely run a command on a ssh-server with a script

From Dev

Run (system) script on SSH login and/or logout

From Dev

Remotely run a command on a ssh-server with a script

From Dev

Run the same script on several servers through SSH

From Dev

Run a remote script on a local file via SSH

From Dev

Not able to run shell script using ssh

From Dev

Run local script in other machine using ssh

From Dev

ssh run script in background and get its pid

From Dev

Can a shell script running in a ssh continue to run if the SSH instance closes?

From Dev

Shell script: Run function from script over ssh

From Dev

Run script with arguments via ssh with at command from python script

From Dev

Run ssh commande by java to launch script in ec2 instance

From Dev

How to run local shell script on remote server via SSH?

From Dev

How to ssh into a shell and run a script and leave myself at the prompt

From Dev

Automatically run script/commands after connecting to OpenShift SSH

From Dev

Perl - Run script remotely through SSH that includes a require directive

From Dev

How to ssh as different user, change group, and run a script within Perl

From Dev

Run many java applications via ssh in a bash script

From Dev

How can I run a script immediately after connecting via SSH?

From Dev

SSH + Sudo + Expect in Bash script: Run command with sudo in remote machine

From Dev

Run python script on server over ssh session in the background persistantly

From Dev

Perl - Run script remotely through SSH that includes a require directive

From Dev

How to ssh as different user, change group, and run a script within Perl

From Dev

How can I startx and have it run a script remotely via SSH?

From Dev

ssh and run script on remote host and answer expect answer automate

Related Related

  1. 1

    SSH : Remotely run a script and stay there

  2. 2

    Run bash script upon ssh

  3. 3

    run command in script after an ssh

  4. 4

    Run (system) script on SSH login and/or logout

  5. 5

    Remotely run a command on a ssh-server with a script

  6. 6

    Run (system) script on SSH login and/or logout

  7. 7

    Remotely run a command on a ssh-server with a script

  8. 8

    Run the same script on several servers through SSH

  9. 9

    Run a remote script on a local file via SSH

  10. 10

    Not able to run shell script using ssh

  11. 11

    Run local script in other machine using ssh

  12. 12

    ssh run script in background and get its pid

  13. 13

    Can a shell script running in a ssh continue to run if the SSH instance closes?

  14. 14

    Shell script: Run function from script over ssh

  15. 15

    Run script with arguments via ssh with at command from python script

  16. 16

    Run ssh commande by java to launch script in ec2 instance

  17. 17

    How to run local shell script on remote server via SSH?

  18. 18

    How to ssh into a shell and run a script and leave myself at the prompt

  19. 19

    Automatically run script/commands after connecting to OpenShift SSH

  20. 20

    Perl - Run script remotely through SSH that includes a require directive

  21. 21

    How to ssh as different user, change group, and run a script within Perl

  22. 22

    Run many java applications via ssh in a bash script

  23. 23

    How can I run a script immediately after connecting via SSH?

  24. 24

    SSH + Sudo + Expect in Bash script: Run command with sudo in remote machine

  25. 25

    Run python script on server over ssh session in the background persistantly

  26. 26

    Perl - Run script remotely through SSH that includes a require directive

  27. 27

    How to ssh as different user, change group, and run a script within Perl

  28. 28

    How can I startx and have it run a script remotely via SSH?

  29. 29

    ssh and run script on remote host and answer expect answer automate

HotTag

Archive