Ok thanks everyone for the recommandations, I'll check them out.
Bernard
On 8/11/05, Jesse Noller <[EMAIL PROTECTED]> wrote:
> On 8/10/05, Bernard Lebel <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I'm trying to make a script to send a SSH command from a Linux
> > computer to another Linux com
On 8/10/05, Bernard Lebel <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm trying to make a script to send a SSH command from a Linux
> computer to another Linux compter.
>
> The Python syntax I'm using...
>
>
> import os
> os.system( 'ssh [EMAIL PROTECTED] "ls"' )
>
>
> Now the problem is that I'
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 ex
Bernard Lebel wrote:
> Hello,
Hi Bernard,
> I'm trying to make a script to send a SSH command from a Linux
> computer to another Linux compter.
>
> The Python syntax I'm using...
>
>
> import os
> os.system( 'ssh [EMAIL PROTECTED] "ls"' )
>
>
> Now the problem is that I'm always asked for th
Ignoring the python stuff for the moment
In answer to Question 1., You want to use Public Key authentication...this
will let you log in without a password.Google for SSH Public Key
Authentication will give you several hits for the howto's
One pretty good one was
http://www.puddingonli
Hello,
I'm trying to make a script to send a SSH command from a Linux
computer to another Linux compter.
The Python syntax I'm using...
import os
os.system( 'ssh [EMAIL PROTECTED] "ls"' )
Now the problem is that I'm always asked for the password. So my
question is two-fold:
1- Is there a way