Nov-09-2022, 12:46 PM
Hi @wavic
any reason why this occurs?
I personally feel that Running a ssh command through subprocess doesnt provide the option to enter the password,as is the case here and hence i am getting 255(Correct me if wrong)
In my condition after logging in to [email protected], i need to execute a set of MML commands.But right now i am stuck with this first step only.
output=subprocess.run(['ssh', '[email protected]']) print(output.returncode)While i used the above code to login to server The return code i got is 255.
any reason why this occurs?
I personally feel that Running a ssh command through subprocess doesnt provide the option to enter the password,as is the case here and hence i am getting 255(Correct me if wrong)
In my condition after logging in to [email protected], i need to execute a set of MML commands.But right now i am stuck with this first step only.