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/paramik

Re: Remoting over SSH

2009-07-08 Thread Raúl Gómez C .
You also could use 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 here

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. #Te

Re: Remoting over SSH

2009-07-08 Thread Hendrik van Rooyen
"Hussein B" 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 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. -- http://mail.python.org/

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-07 Thread Tim Harig
On 2009-07-07, Hussein B 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 just want to open th

Re: Remoting over SSH

2009-07-07 Thread alex23
On Jul 8, 12:46 am, Hussein B 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