python - How to login to external machine? -



python - How to login to external machine? -

im running osx, , every time reboot have select remote servers, nail "connect as", come in username , password, , login in order utilize of scripts access files on them.

i need...

a simple way in python process (login on remote server using using user , password)

a simple way check if i'm connected selected machine.

i utilize ssh. can utilize public key authentication. enables password less logins. , can utilize ssh python paramiko library.

but this: "2. simple way check if i'm connected selected machine." not easy. need this?

python login login-script

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -