Re: [paramiko] alternate ciphers

2010-01-27 Thread Marcin Krol
Hello James, I'm sorry to say that it doesn't work: james bardin wrote: I don't there's any way to set the security options with SSHClient, so you will have to use the Transport directly. ### import paramiko import socket s = socket.socket() s.connect(('localhost', 22)) t =

Re: [paramiko] alternate ciphers

2010-01-27 Thread james bardin
On Wed, Jan 27, 2010 at 6:40 AM, Marcin Krol mrk...@gmail.com wrote: ### import paramiko import socket s = socket.socket() s.connect(('localhost', 22)) t = paramiko.Transport(s) t.get_security_options().ciphers = ('arcfour128',) t.connect . Regardless of what I set  as

Re: [paramiko] alternate ciphers

2009-12-31 Thread james bardin
On Thu, Dec 31, 2009 at 11:19 AM, Marcin Krol mrk...@gmail.com wrote: Hello, I'm using paramiko to concurrently distribute large files/dirs to many hosts. This is heavy on CPU. Is there any way to say to SSHClient or channel or transport what cipher to use? Which one would be recommended