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

Recommended Answers

All 3 Replies

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

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..

Google has exemples, like this one.

Be a part of the DaniWeb community

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