[paramiko] automated public key auth as another user
Powell, Joe
joe.powell at lmco.com
Thu Sep 27 09:42:59 PDT 2007
Hello. First, I would like to thank you for developing paramiko. My
question is, using paramiko, how can I login to a system using public
key (passwordless) authentication as another user without having to
create that user on my system. I have copied another user's private key
to my ~/.ssh folder with a name such as "another_user.id_rsa" and
successfully used that as the private key to log in as "another_user",
but I had to create "another_user" and its key first. I am writing a
script in which I need to log in to numberous different systems each
with a different userid--and I would much prefer to not have to create
each of these userids on my system just so I can create a key for it. It
is specified that WE must initiate all transfers, so it is not a
solution for them to give us their key and login to our system.
Thank you for any help you can provide.
Regards,
Joe Powell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lag.net/pipermail/paramiko/attachments/20070927/981a872c/attachment.htm
More information about the paramiko
mailing list