Re: Remoting over SSH

2009-07-10 Thread M.-A. Lemburg
Lucas Carvalho wrote: Hussein B wrote: Hey, I want to perform commands on a remote server over SSH. What do I need? Thanks. Hi, If you want to use the SSH2 protocol into a python code, you should take a look at this module: paramiko [1]. [1] http://www.lag.net/paramiko/ If you're

Remoting over SSH

2009-07-08 Thread Hussein B
Hey, I want to perform commands on a remote server over SSH. What do I need? Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: Remoting over SSH

2009-07-08 Thread Lucas Carvalho
Hussein B wrote: Hey, I want to perform commands on a remote server over SSH. What do I need? Thanks. Hi, If you want to use the SSH2 protocol into a python code, you should take a look at this module: paramiko [1]. [1] http://www.lag.net/paramiko/ Regards, Lucas. --

Re: Remoting over SSH

2009-07-08 Thread Hendrik van Rooyen
Hussein B hubaghd...@gmail.com wrote: Hey, I want to perform commands on a remote server over SSH. What do I need? Thanks. Access privileges for the remote machine. - Hendrik -- http://mail.python.org/mailman/listinfo/python-list

Re: Remoting over SSH

2009-07-08 Thread Djames Suhanko
Hello! I wrote a litle program that send commands to many cluster nodes: #!/usr/bin/env python #By: Djames Suhanko #servers list sincroniza =[server1.domain,server2.domain, server3.domain] import pexpect import sys from threading import Thread #the user and pass can be in ini file. #Test

Re: Remoting over SSH

2009-07-08 Thread Raúl Gómez C .
You also could use TwistedConchhttp://twistedmatrix.com/trac/wiki/TwistedConch, which is an implementation of the SSH2 protocol for Python. I've done something with it, you can read my first questions on the TwistedConch list

Re: Remoting over SSH

2009-07-07 Thread alex23
On Jul 8, 12:46 am, Hussein B hubaghd...@gmail.com wrote: I want to perform commands on a remote server over SSH. What do I need? Take a look at pexpect: http://pexpect.sourceforge.net/pexpect.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Remoting over SSH

2009-07-07 Thread Tim Harig
On 2009-07-07, Hussein B hubaghd...@gmail.com wrote: I want to perform commands on a remote server over SSH. What do I need? catb.org/esr/faqs/smart-questions.html There are many ways to remote using ssh. If we know what you are trying to do, maybe we could give you a better answer. If you