Manimaran,
Use Public Key authentication with a key that doesn't have a passphrase
or use a key with a passphrase and an agent..then your application won't
need to send a password. Whatever you do don't store the private key on
an NFS filesystem.
-Scott
Manimaran Subbaraj wrote:> Hello,
>
> I have a client/server architecture in which they
> don't reside on the same NIS or NFS domains. I need to
> make a SSH connection to the server from an
> application running on client. Since the application
> is not interactive, I am looking for an option in
> which I could send the password as an argument to the
> SSH call. The application has its source codes in C
> programming language.
>
> Is there a C interface library for SSH available in
> IBM website, in which I could pass the password as an
> argument to a inbuilt routine to make a SSH
> connection? Or is there any other way I could
> workaround my requirement.
>
> Thanks,
> Mani
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Friends. Fun. Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>