Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Remote shell command to send commands while in another shell

Options
  • 16-06-2008 4:46pm
    #1
    Registered Users Posts: 5,580 ✭✭✭


    Heres the story.

    Im in server x and want to open up another shell in server y to send mml commands

    So i do my rsh to get into the server y and run y_shell


    I want to run the following from y_shell

    .open Node
    .select Node1

    etc etc

    At the moment, all i can do is rsh into y_shell but i cant send the commands. Any ideas?

    Ta in advance


Comments

  • Closed Accounts Posts: 198 ✭✭sh_o


    What error are you getting? Your path variables etc may be different when you rsh than when you login directly.

    Can you not just create a script on server Y that does all that you need and then just call the script from the rsh user@serverY /path_to/command.sh


Advertisement