[paramiko] Noob question

Alejandro Bednarik alejandro at xtech.com.ar
Thu Mar 12 05:30:23 PDT 2009


 I am trying to do a simple script to execute a remote command using
python with paramiko module. the problem seems the way gentoo and fedora
store RSA key fingerprint, in the known_host file i see something like
this

hostname,192.168.1.4 ssh-rsa

while in ubuntu i see

|1|rDQW7dhZjcQ4UdfgyapD8U+Ggfgf=|kgsgs5R0DLFVzLwbDGurhHWIXpo= ssh-rsa

So, when i try to authenticate using username and password i get and error.
I attach a simple and incomplete script and the log when it fails.

fedora is the hostname of my home server.
Any help is much appreciated.

Cheers!


-- 
 Alejandro Bednarik
 XTech - Soluciones Linux para Empresas
 (011) 5219-0678
 alejandro at xtech.com.ar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paramiko.log
Type: text/x-log
Size: 1822 bytes
Desc: not available
Url : http://www.lag.net/pipermail/paramiko/attachments/20090312/d86ebc3f/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssh_exec_cmd.py
Type: text/x-python
Size: 1669 bytes
Desc: not available
Url : http://www.lag.net/pipermail/paramiko/attachments/20090312/d86ebc3f/attachment.py 


More information about the paramiko mailing list