import os os.system( 'ssh [EMAIL PROTECTED] "ls"' ) system is probably the wrong thing to use here since it doesn't return any output only a final error code.
> 1- Is there a way to not be asked for the root password? Yes but you need to set up user security keys and such. The ssh man pages explain it in fairly dense detail. > 2- If not, then is it possible to feed the SSH password > input with my Python script? Yes but you probably need the python version of expect module. Not part of the standard library but available on source-forge I believe. Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor