On Tue, Jan 5, 2010 at 11:09 AM, Marcin Krol <mrk...@gmail.com> wrote:

>> I believe the arcfour-128 stream cipher is the least cpu intensive of
>> the generally supported ciphers.
>
> OK thanks - I'll use that.
>

This was from benchmarks on openssh though, so I would still test it
out to make sure it's worth the effort in your case.


> Now, the question is, how to select this cipher in SSHClient? or transport?
>

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 = paramiko.Transport(s)
t.get_security_options().ciphers = ('arcfour128',)
t.connect
.....




-jim

_______________________________________________
paramiko mailing list
paramiko@lag.net
http://www.lag.net/cgi-bin/mailman/listinfo/paramiko

Reply via email to