1

Possible Duplicate:
What is the simplest way to SSH using Python?

I want to use a python script to connect via ssh to my server, upload a file and after that do bash commands like "pwd". How can I do this? Thanks.

Community
  • 1
  • 1
John Paneth
  • 367
  • 2
  • 6
  • 9
  • http://stackoverflow.com/questions/1233655/what-is-the-simplest-way-to-ssh-using-python – asthasr Nov 29 '10 at 13:19
  • Other than learning some python what are you trying to do that you need python for? All of this could be a single bash shell script. – jim mcnamara Nov 29 '10 at 19:59

0 Answers0