Re: Java & OpenSSH
From: Ben Ricker (bricker_at_wellinx.com)
Date: 12/04/03
- Previous message: Popeanga Marian: "Re: Java & OpenSSH"
- In reply to: Popeanga Marian: "Re: Java & OpenSSH"
- Next in thread: Joo Chung: "sftp-server replacement"
- Reply: Joo Chung: "sftp-server replacement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: SSH List <secureshell@securityfocus.com> Date: Thu, 04 Dec 2003 12:03:29 -0600
Use key authentication: see
http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keygen or look at the
ssh manpage on the same site.
Ben Ricker
Wellinx, inc.
On Thu, 2003-12-04 at 00:13, Popeanga Marian wrote:
> 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: Popeanga Marian: "Re: Java & OpenSSH"
- In reply to: Popeanga Marian: "Re: Java & OpenSSH"
- Next in thread: Joo Chung: "sftp-server replacement"
- Reply: Joo Chung: "sftp-server replacement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|