Problem with authentification

Mykle battosaimykle at
Fri Jul 27 10:24:02 CEST 2007

Hi, I'm french so I apologize for mistakes I'm about to make in

I installed Paramiko on a Debian Server for making connections with an
Server and here's my issue:

I create a transport connection with the server for getting files from
The server asks an authentification but the public key is kept by the
Server and recognize the computer by his public key username at
the server have a username for the public key. There's no password
anyway !
Until now, I use a bash script which make an ssh connection with the
(like 'ssh -x -a username at sshadress'), but I want to change that
for some
verification reasons. I mustn't have to put any key in the code...
What I
want is to connect to the Server and that this one accept this
connection by
only the recognization of the username at computername. The
doesn't really help me and I'm not pretty much good in Python (maybe
explains why I'm writing this mail...*sic*).

Here's the begining of my code:

import paramiko
TR = paramiko.Transport((sshAdress,22))

... Yeah I know, it's like there was nothing...

Thank you for your help.


More information about the Python-list mailing list