On 2021-06-29 15:01, Sourav Bose wrote:
Hello,
I was using Python 3.8 32 bit ,but while trying to install the paramiko
there is some wheel issue I'm facing. definitely it is due to version
mismatching of the python and the paramiko.
I have uninstalled 3.8
Could you please help me by providing
Sagar,
Have you worked on RobotFramework-sshlibrary. It seem to have very simple
interface for both command processing/execution as well as interactive session
to grep responses and decide the flow.
Let me know if you face any issues. Can help you solve.
-paragm
On Thursday, August 8, 2013 at
On Wed, Oct 28, 2015 at 6:56 AM, Skip Montanaro
wrote:
> On Tue, Oct 27, 2015 at 1:40 PM, Chris Angelico wrote:
>>
>> If you hack your hosts file to have only one localhost,
>> does the problem disappear?
>
>
> Yes, that appears to solve the problem. Thanks. I hadn't even thought there
> would be
On Tue, Oct 27, 2015 at 1:40 PM, Chris Angelico wrote:
> If you hack your hosts file to have only one localhost,
> does the problem disappear?
>
Yes, that appears to solve the problem. Thanks. I hadn't even thought there
would be IPv4/IPv6 distinctions here.
Interestingly enough, the box does s
On Wed, Oct 28, 2015 at 12:23 AM, Skip Montanaro
wrote:
> Finally, there is also a "localhost" record in known_hosts. Connecting to
> that fails with a different exception:
>
ssh = paramiko.SSHClient()
conn = ssh.connect("localhost")
> error getsockaddrarg: bad family
> [||1] [paramiko/c
On Tue, Oct 27, 2015 at 8:23 AM, Skip Montanaro
wrote:
> >>> ssh = paramiko.SSHClient()
> >>> conn = ssh.connect("firefly")
> SSHException Server 'firefly' not found in known_hosts
> [||1] [paramiko/client.py|connect|288]
> [paramiko/client.py|missing_host_key|570]
>
I figured out that I needed
On 11 August 2013 09:57, Chris Angelico wrote:
> On Thu, Aug 8, 2013 at 8:20 AM, sagar varule wrote:
>> stdin, stdout, stderr = client.exec_command(bv_cmd)
>> for line in stderr.readlines():
>> print line
>> for line in stdout.readlines():
>>
On Thu, Aug 8, 2013 at 8:20 AM, sagar varule wrote:
> stdin, stdout, stderr = client.exec_command(bv_cmd)
> for line in stderr.readlines():
> print line
> for line in stdout.readlines():
> print line
> But problem here is client.exec_command
On 11 August 2013 08:02, sagar varule wrote:
> On Sunday, August 11, 2013 11:28:31 AM UTC+5:30, Joshua Landau wrote:
>> You also didn't say what didn't work with the first block of code.
>
> Submitting Command to Interactive Shell through code did not work.
In what way didn't it work? What's the
On Sunday, August 11, 2013 11:28:31 AM UTC+5:30, Joshua Landau wrote:
> On 11 August 2013 06:18, sagar varule wrote:
>
> > Can any one comment on this..
>
>
>
> If you don't get replies here it's probably because no-one knows
>
> Paramiko. I suggest posting elsewhere to see if there are any P
On 11 August 2013 06:18, sagar varule wrote:
> Can any one comment on this..
If you don't get replies here it's probably because no-one knows
Paramiko. I suggest posting elsewhere to see if there are any Paramiko
users in other places willing to help. There might be a Paramiko
mailing list.
You
On Thursday, August 8, 2013 12:50:25 PM UTC+5:30, sagar varule wrote:
> Hi All,
>
>
>
> Im using Paramiko for my SSH automation. Im using method that is shown in
> demo_simple.py example which comes with Paramiko. Below is code from
> demo_simple.py.
>
>
>
> As you can make out, below code
Wow thats bad news. Any workaround?
What im trying to succeed here is create one SSH tunnel, so that i can connect
from a python script running on my pc, to a remote MySQL database running on my
Host and id like to stick with Python 3.3 .
Any thoughts?
--
http://mail.python.org/mailman/listinfo
On 08/08/2013 19:04, D. Xenakis wrote:
import sys
print (sys.path)
returns:
['C:\\Python33\\Lib\\idlelib',
'C:\\Python33\\lib\\site-packages\\pip-1.4-py3.3.egg',
'C:\\Windows\\system32\\python33.zip', 'C:\\Python33\\DLLs',
'C:\\Python33\\lib', 'C:\\Python33', 'C:\\Python33\\lib\\site-packag
>>> import sys
>>> print (sys.path)
returns:
['C:\\Python33\\Lib\\idlelib',
'C:\\Python33\\lib\\site-packages\\pip-1.4-py3.3.egg',
'C:\\Windows\\system32\\python33.zip', 'C:\\Python33\\DLLs',
'C:\\Python33\\lib', 'C:\\Python33', 'C:\\Python33\\lib\\site-packages']
then if i type:
>>> sys.path
On 03/11/2011 09:22, Jacob Abraham wrote:
Hi All,
I need help with the below mentioned script. The second time I
call a.execute, self.transport.open_session() fails with an EOF error.
Is this a paramiko bug or am I doing something wrong?
import paramiko
class Connection(object):
d
On Jun 10, 3:47 am, David <71da...@libero.it> wrote:
> Il Tue, 7 Jun 2011 19:25:43 -0700 (PDT), mud ha scritto:
>
>
>
>
>
>
>
>
>
> > Hi All,
>
> > Does anybody know what the following error means with paramiko, and
> > how to fix it.
>
> > I don't know what is causing it and why. I have updated pa
Il Tue, 7 Jun 2011 19:25:43 -0700 (PDT), mud ha scritto:
> Hi All,
>
> Does anybody know what the following error means with paramiko, and
> how to fix it.
>
> I don't know what is causing it and why. I have updated paramiko to
> version 1.7.7.1 (George) but still has the same issue.
>
> Also I
On Wed, 2009-06-24 at 15:22 -0700, Frank Ruiz wrote:
> Greetings,
>
> I am trying to process multiple commands using paramiko. I have
> searched other threads, and I think my use case is a little different.
> I am trying to login to a storage node that has a special shell, and
> as such I cant exe
On Wed, Jun 24, 2009 at 8:35 PM, Frank Ruiz wrote:
> Hi Jon,
>
> Thanks for the reply. So there are no errors. Essentially everything
> runs as planned. Sorry for being ignorant, but I am not sure if there
> is another way for providing trace data. I will look into what other
> debugging I can prov
Hi Jon,
Thanks for the reply. So there are no errors. Essentially everything
runs as planned. Sorry for being ignorant, but I am not sure if there
is another way for providing trace data. I will look into what other
debugging I can provide.
Essentially what happens is that only the second command
On Jun 24, 11:22 pm, Frank Ruiz wrote:
> Greetings,
>
> I am trying to process multiple commands using paramiko. I have
> searched other threads, and I think my use case is a little different.
> I am trying to login to a storage node that has a special shell, and
> as such I cant execute a script
Frank Ruiz wrote:
Apologies.. Python newb here.. switching from perl to python.. so
please forgive if this is a dumb question.
I am using the paramiko module and have some global variables defined.
i.e.
hostname = ' 10.10.10.10'
sshport = '22'
I am then trying to pass this variable into the c
On Wed, Jun 24, 2009 at 2:01 PM, Frank Ruiz wrote:
> Apologies.. Python newb here.. switching from perl to python.. so
> please forgive if this is a dumb question.
>
> I am using the paramiko module and have some global variables defined.
>
> i.e.
>
> hostname = ' 10.10.10.10'
> sshport = '22'
I'm
On Jun 24, 10:01 pm, Frank Ruiz wrote:
> Apologies.. Python newb here.. switching from perl to python.. so
> please forgive if this is a dumb question.
>
> I am using the paramiko module and have some global variables defined.
>
> i.e.
>
> hostname = ' 10.10.10.10'
> sshport = '22'
>
> I am then t
On Mar 25, 7:50 am, "Tarun Kapoor" <[EMAIL PROTECTED]> wrote:
> I am using the paramiko library to pull a data from a server using SFTP.
> It works perfect on a windows xp machine but bugs out a windows 2003
> server. I get the following error:
> Traceback (most recent call last):
> File "S:\Temp
anks !!
Tk
-Original Message-
From: Guilherme Polo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 16, 2008 11:12 AM
To: Tarun Kapoor; python-list@python.org
Subject: Re: paramiko
2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
>
>
>
>
> I am using paramiko to do an SFTP file trans
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
2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
> On Jan 16, 1:56 pm, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> > 2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
> >
> >
> >
> > > On Jan 16, 12:22 pm, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> > > > 2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
> >
On Jan 16, 1:56 pm, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> 2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
>
>
>
> > On Jan 16, 12:22 pm, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> > > 2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
>
> > > > On Jan 16, 11:38 am, "Guilherme Polo" <[EMAIL PROTEC
2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
> On Jan 16, 12:22 pm, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> > 2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
> >
> >
> >
> > > On Jan 16, 11:38 am, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> > > > 2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
>
On Jan 16, 12:22 pm, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> 2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
>
>
>
> > On Jan 16, 11:38 am, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> > > 2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
>
> > > > # now, connect and use paramiko Transport to ne
2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
> On Jan 16, 11:38 am, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> > 2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
> >
> >
> >
> > > # now, connect and use paramiko Transport to negotiate SSH2 across
> > > the connection
> > > sock = socket.sock
On Jan 16, 11:38 am, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> 2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
>
>
>
> > # now, connect and use paramiko Transport to negotiate SSH2 across
> > the connection
> > sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> > sock.connect((
2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
> # now, connect and use paramiko Transport to negotiate SSH2 across
> the connection
> sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> sock.connect((hostname, port))
>
> t = paramiko.Transport(sock)
> t.start_client()
>
# now, connect and use paramiko Transport to negotiate SSH2 across
the connection
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect((hostname, port))
t = paramiko.Transport(sock)
t.start_client()
key = t.get_remote_server_key()
event = threading.Eve
2008/1/16, Tarun Kapoor <[EMAIL PROTECTED]>:
>
>
>
>
> I am using paramiko to do an SFTP file transfer… I was able to connect to
> the remote server using an SFTP client I have just to make sure that
> username and password are working.. This is the code.
>
>
>
> # now, connect and use paramiko
hg wrote:
> [EMAIL PROTECTED] wrote:
>
> > paramiko
> http://www.lag.net/paramiko/docs/
>
> __str__ ?
hi
thanks for the tip
i done up a function to generate priv/pub key pairs like this
def keygen(bits,fil,password=None):
k = paramiko.RSAKey.generate(bits)
k.write_private_key_fil
[EMAIL PROTECTED] wrote:
> paramiko
http://www.lag.net/paramiko/docs/
__str__ ?
--
http://mail.python.org/mailman/listinfo/python-list
45 matches
Mail list logo