Timeline for Executing a python script via SSH on remote and scp on localhost
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 11, 2022 at 19:34 | comment | added | Pawan | I created a test script that worked fine but with my existing script it is throwing the error "No module named netaddr" | |
Apr 9, 2022 at 23:58 | comment | added | puma |
Try creating script on the remote machine with #!/bin/bash python script.py and execute the script
|
|
Apr 9, 2022 at 23:54 | comment | added | Pawan | If I execute the python script by logging in to the server directly, then it is running fine. But when I am trying to execute via my local system using the command you provided, it is giving the same error | |
Apr 9, 2022 at 23:37 | comment | added | puma | try logging in and running your script normally | |
Apr 9, 2022 at 23:28 | comment | added | Pawan | Thank you! I tried running the first step, I am getting some script related error as below (I already installed netaddr): from netaddr import IPAddress ImportError: No module named netaddr | |
Apr 9, 2022 at 23:21 | history | edited | puma | CC BY-SA 4.0 |
added 183 characters in body
|
S Apr 9, 2022 at 23:15 | review | First answers | |||
Apr 10, 2022 at 0:12 | |||||
S Apr 9, 2022 at 23:15 | history | answered | puma | CC BY-SA 4.0 |