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