Results 1 to 2 of 2

Thread: Run Local Script On Remote System via SSH

  1. #1
    Join Date
    Mar 2019
    Posts
    12

    Run Local Script On Remote System via SSH

    I have a script in my system. I want to run this script on the remote system which has SSH connection.

  2. #2
    Join Date
    May 2019
    Posts
    7
    It is very easy just put the script file path after the ssh command like below.
    ssh ismail@192.168.142.144 'bash -s' < cat myscript.sh

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •