Re: How to realize ssh & scp by Python

2005-07-24 Thread Jesse Noller
On 7/23/05, 刚 王 <[EMAIL PROTECTED]> wrote: > I would like to write a Python code like this: > > It can login a host by SSH > after login the host, use SCP to get a remote file, so it can deliver file > to the host. > then execute the program > then leave the host > > For example : > > STEP 1. ss

How to realize ssh & scp by Python

2005-07-23 Thread 刚 王
I would like to write a Python code like this:It can login a host by SSHafter login the host, use SCP to get a remote file, so it can deliver file to the host.then execute the programthen leave the hostFor example :STEP 1. ssh _yyy at 123.45.67.89STEP 2. Enter the password automatically STEP 3.