How to run a script file remotely using SSH

后端 未结 6 1681
无人共我
无人共我 2020-12-07 12:17

I want to run a script remotely. But the system doesn\'t recognize the path. It complains that \"no such file or directory\". Am I using it right?

ssh kev@se         


        
6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-07 13:17

    Make the script executable by the user "Kev" and then remove the try it running through the command sh kev@server1 /test/foo.sh

提交回复
热议问题