IF you really wanted to do it with passwords, you could wrap ssh with an
expect script. It's a pretty standard example case for expect, so I'm
sure you'd find the script out there already. From memory I think perl's
Expect.pm documentation deals with it a bit.
Andrew
On Thu, 12 Jun 2003, Kevin Saenz wrote:
> I don't think there is a way except for creating keys and copying the
> public key to ~/.ssh directory and naming the key file as authorize_keys
> Then at least you could do commands like
> ssh -l admin 192.168.0.1 -X -C Eterm
>
> or run other jobs.
>
> > I am trying to ssh into a remote machine - what I want to do is log in
> > with a username and password supplied in the one command - is there a
> > way to this?
> >
> > #ssh -l [EMAIL PROTECTED] passwd test?
> >
> > HELP PLEASE!
>
--
No added Sugar. Not tested on animals. If irritation occurs,
discontinue use.
-------------------------------------------------------------------
Andrew McNaughton In Sydney
Working on a Product Recommender System
[EMAIL PROTECTED]
Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug