Hi Friends,

I want to connect to a linux machine using a private key login as password from another linux machine.

I want to connect this using a python script.

Thanks in Advance,
Omkar

Re: linux machine login with private key using python script 80 80

You should be able to do this using ssh and module paramiko.

Re: linux machine login with private key using python script 80 80

Hi Gribouillis,

Thanks for your reply.

I at present using paramiko ssh module to connect to another linux machine.

But i need a working example that how can i connect to another linux machine using private key..

Re: linux machine login with private key using python script 80 80

Google has exemples, like this one.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.