Re: Java & OpenSSH
From: Popeanga Marian (pmarian_at_cnlo.ro)
Date: 12/04/03
- Previous message: Wilson, Richard E: "RE: ssh connection is slow"
- In reply to: Brendan Benke: "Java & OpenSSH"
- Next in thread: Ben Ricker: "Re: Java & OpenSSH"
- Reply: Ben Ricker: "Re: Java & OpenSSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 04 Dec 2003 08:13:51 +0200 To: Brendan Benke <benke@cs.georgetown.edu>
Brendan Benke wrote:
>Hello,
>
>I am trying to create an ssh tunnel via a java app. It's possible to get
>the ssh process started using Runtime.exec("ssh -2 -f -N -L
>port:host:port -l user remotehost") but being constrained to password
>authentication I'm stuck on how to get the password to the client. I've
>read about possibly changing readpass.h to allow stdin, but to what value?
>Is this even the right approach? What are valid values for RP_ALLOW_STDIN?
>
>Any help would be greatly appreciated.
>
>Thanks,
>Brendan
>
>
>
Hi,
We also will need this approach from a C++ application.
Without modifing the ssh to read the password from stdin we could pass
it from a text file.
But this way the password could be stollen. I really don't know why ssh
does'nt support this ?
Anyone achived to modifiy it ?
/Marian
- Previous message: Wilson, Richard E: "RE: ssh connection is slow"
- In reply to: Brendan Benke: "Java & OpenSSH"
- Next in thread: Ben Ricker: "Re: Java & OpenSSH"
- Reply: Ben Ricker: "Re: Java & OpenSSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|