pythonでssh
easy_install paramiko
import ssh
s = ssh.Connection('example.com')
s.put('hello.txt')
s.get('goodbye.txt')
s.execute('du -h --max-depth=0')
s.close()
http://commandline.org.uk/python/2008/may/29/sftp-python-really-simple-ssh/
easy_install paramiko
import ssh
s = ssh.Connection('example.com')
s.put('hello.txt')
s.get('goodbye.txt')
s.execute('du -h --max-depth=0')
s.close()
http://commandline.org.uk/python/2008/may/29/sftp-python-really-simple-ssh/