Re: Paramiko SFTP autologon using id_dsa.pub

2008-02-13 Thread Michele Hjorleifsson
wow been going nuts here after cutting and pasting to get a working test so i ran demo.py ... and its not me.. i changed the hostname for obvious reasongs, the id_dsa file does exist. i can sftp from bash no problem. there is NO password on the key Any ideas ? here is what i get. Hostname: x

Re: Paramiko SFTP autologon using id_dsa.pub

2008-02-07 Thread Martin v. Löwis
> sorry i meant a code example that i pass the id_dsa.pub file contents > too > so i am not reliant on the host system to have the ssh-agent. c.connect("",username="loewis",key_filename=".ssh/identity") works for me with ssh-agent disabled. Regards, Martin -- http://mail.python.org/mailman/list

Re: Paramiko SFTP autologon using id_dsa.pub

2008-02-07 Thread Todd Whiteman
Mike Hjorleifsson wrote: > I wrote a lil module using paramiko's module to send a file via > sftp.. it works great using the username and password. > I would prefer to use id_dsa.pub to have an autologon and not save > the > password anywhere on the disk.. I cant find a good example of this. > Can

Re: Paramiko SFTP autologon using id_dsa.pub

2008-02-06 Thread Mike Hjorleifsson
sorry i meant a code example that i pass the id_dsa.pub file contents too so i am not reliant on the host system to have the ssh-agent. On Feb 6, 3:09 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > Mike Hjorleifsson wrote: > > Thanks for the response, is there an example bit of code somewhere

Re: Paramiko SFTP autologon using id_dsa.pub

2008-02-06 Thread Martin v. Löwis
Mike Hjorleifsson wrote: > Thanks for the response, is there an example bit of code somewhere i > could digest ? I did c.connect("",username="loewis") with ssh-agent, and it worked just fine. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Paramiko SFTP autologon using id_dsa.pub

2008-02-06 Thread Mike Hjorleifsson
Thanks for the response, is there an example bit of code somewhere i could digest ? On Feb 6, 1:35 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > I wrote a lil module using paramiko's module to send a file via > > sftp.. it works great using the username and password. > > I would prefer to u

Re: Paramiko SFTP autologon using id_dsa.pub

2008-02-06 Thread Martin v. Löwis
> I wrote a lil module using paramiko's module to send a file via > sftp.. it works great using the username and password. > I would prefer to use id_dsa.pub to have an autologon and not save > the > password anywhere on the disk.. I cant find a good example of this. > Can anyone help ? When you h

Paramiko SFTP autologon using id_dsa.pub

2008-02-05 Thread Mike Hjorleifsson
I wrote a lil module using paramiko's module to send a file via sftp.. it works great using the username and password. I would prefer to use id_dsa.pub to have an autologon and not save the password anywhere on the disk.. I cant find a good example of this. Can anyone help ? -- http://mail.python.