I'd like to make a python script that connect with an SSH server, but as I can't send password as an argv, how could I do that?
os.system("user@server password")
And if it fails, what would be the return?
I'd like to make a python script that connect with an SSH server, but as I can't send password as an argv, how could I do that?
os.system("user@server password")
And if it fails, what would be the return?
You should probably looking into doing this with a library or wrapper to make this work out properly and with more support. Here are some examples.