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. ssh [EMAIL PROTECTED]
STEP 2. Enter the password automatically
STEP 3. run " scp -r [EMAIL PROTECTED]:/home/xxx/program ."
STEP 4. Enter the password for SCP automatically
STEP 5. run "./program"
STEP 6. run " exit"
I know telnetlib can help us with telnet, and how to deal with this SSH situation in Python?
Thanks a lot for your help :)
需要一个2000兆的免费邮箱吗?
网易免费邮箱是中国最多人使用的电子邮箱。
-- http://mail.python.org/mailman/listinfo/python-list