You can use paramiko module. Very easy to use.
On Thu, Oct 25, 2012 at 4:04 PM, Laszlo Nagy <gand...@shopzeus.com> wrote: > On 2012-10-25 12:16, Schneider wrote: > >> Hi Folkz, >> how can i create a SSH-Connection with python? I have to send some >> commands to the remote host and parse their answers. >> greatz Johannes >> > http://www.lag.net/paramiko/ > > Another solution would be to use subprocess and/or pexpect > > > -- > http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list> > -- Faith waiting in the heart of a seed promises a miracle of life which it can not prove! -Ravindranath Tagore
-- http://mail.python.org/mailman/listinfo/python-list