From: Michele S. <mi...@pi...> - 2002-07-11 17:13:33
|
I have successfully installed pyssh on my machine (Red Hat Linux 7.2). However when I try to use it, nothing happens. This is what I have: python pyssh.py host=tycho.lpthe.jussieu.fr user=micheles command=date password=******* debug=1 >> child says: "mic...@ty...'s password: " >> child took 8 password bytes >> sleeping 0 secs >> child took 5 command bytes >> child response is '\r\ndate\r\n' results = '\r\ndate\r\n' I would expect a string with the date instead ! Any suggestion ? Second question: how can I scp a file ?? thanks, -- Michele Simionato - Dept. of Physics and Astronomy 210 Allen Hall Pittsburgh PA 15260 U.S.A. Phone: 001-412-624-9041 Fax: 001-412-624-9163 Home-page: http://www.phyast.pitt.edu/~micheles/ |