Re: Using ssh command from C-program with STDIN problem
- From: Doug Spencer <usenetmail@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 8 Feb 2007 07:10:28 -0600
On Thu, 08 Feb 2007 09:48:25 +0100
Manfred Rebentisch <mrebentisch@xxxxxxxxxxx> wrote:
Hello,
now my problem is a little bit hard. I need to transfer the public key of an
user to another machine. But the user has entered the password with my
software and I want to call ssh (or ssh-copy-id script).
Look how Expect, http://expect.nist.gov/ does it? The source is
available. If you're not writing a new program for the challenge, it
sounds like you could use Expect to do what you want.
Doug
--
For UNIX, Linux and security articles
visit http://SecurityBulletins.com/
.
- Follow-Ups:
- Re: Using ssh command from C-program with STDIN problem
- From: Manfred Rebentisch
- Re: Using ssh command from C-program with STDIN problem
- References:
- Using ssh command from C-program with STDIN problem
- From: Manfred Rebentisch
- Using ssh command from C-program with STDIN problem
- Prev by Date: Using ssh command from C-program with STDIN problem
- Next by Date: Re: Using ssh command from C-program with STDIN problem
- Previous by thread: Using ssh command from C-program with STDIN problem
- Next by thread: Re: Using ssh command from C-program with STDIN problem
- Index(es):
Relevant Pages
|