I am trying to execute a ssh-command from PC-A on PC-B. Both of them are Unix based.
Whenever I type in the command " ssh root@192.168.1.213 /path/to/x.sh
" I get this ssh error with the error message " can't load library libimp.so
".
Typing in the commands separately does work though. (1. Type in ssh root@192.168.1.213
[Return] and 2. /path/to/x.sh
[Return])
Is there something I am missing out?
I tried searching the web but I got no results at all.
Thank you in advance.
Use sh
or bash
based on your machine.
ssh root@192.168.1.213 bash /path/to/x.sh
or
ssh root@192.168.1.213 sh /path/to/x.sh
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.