[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: Using rsh


On Tue, Sep 22 1998, J. Jeffrey Close wrote:
> >The problem is that jCVS can not open the priveleged rsh socket under
> >UNIX, unless run as root. Thus, you must use the external rsh. The problem
> >with the password is that rsh does not take a password option. The only
> >way I know around this is to create a '.rhosts' on your cvs server so
> >that your host is considered a peer, and you should get no password
> >request. Otherwise, I think you are hosed. I do not think you can
> >wrap rsh with your own script in a way that will help.
> 
> If jCVS cannot be configured to use a password with an external RSH, then
> how can it be used with SSH in a public-key setup?  My SSH requires
> authorized keys on both ends, and then asks for a pre-configured password
> to match the keys.  how can 
> 
> even if I use the property --
>   jCVS.rshCommand.default=E:/WinNT/System32/rsh.exe
> 
> to point to my SSH, I don't see how I can configure it to use the proper
> SSH authorization.

This is vertainly a consideration. One which I have not had time to
deal with, and have not had an SSH at my disposal to test.

I had high hopes that someone might write SSH in Java!

If someone can propose a sensible solution to this problem, I would like
to hear it, as I have not had the time to think it through. I dislike having
to parse the IO stream and interject the password, but if there is no other
way, then what can I do?

> BTW, I'm trying to connect to a FreeBSD box from a  Win32 box.
> 
> Also, is there a list of properties somewhere similar to the above?  

The file "doc/propdoc.txt" is the closest thing to documentation currently.

There 
tim.
Tim Endres, ICE Engineering, Inc.
   mailto: time@ice.com    http://www.ice.com
   "Usenet - A slow moving self parody." -- Peter Honeyman