Subject: Question on input password on ssh prompt
From: Bill Marcum
Date: 9/15/2007 11:02:02 PM
On Sat, 15 Sep 2007 18:09:05 -0000, Mav
<mluvw47@gmail.com> wrote:
>
> My question is:
> 1) Is that a way I can feed it the password without install any
> module?, if so, how?
> 2) Or where I can find out more regarding input after prompt
> waiting?
If you want to use ssh without prompting the user for a password, use
ssh-keygen and ~/.ssh/authorized_keys (or whatever the Windoze
equivalent is.)
> 3) is that a way I can get the command (in this case ls -la) return
> result?
>
"echo $?" as part of the remote command.
--
Never look a gift horse in the mouth.
-- Saint Jerome
|