[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
Re: Using rsh
Thank you! I'll look for that... otherwise I am stuck having to use jcvs
with pserver, or not using jcvs.
jeffrey
At 01:03 PM 9/23/98 +0200, Tomas Fasth wrote:
>Jeffrey, Tim,
>There is a feature in the current distribution of ssh for the Unix platform
>to avoid having to type the password, especially convenient in situations
>where you are running a series of ssh commands.
>Before issuing ssh commands you run the command ssh-agent evaluating it's
>output in the current shell (which will set a couple of environment
>variables). ssh-agent asks for a password once and then put itself in
>background mode. successive runs of ssh will, by using information in
>environment variables, consult the agent (using a local socket port) instead
>of a direct interaction with the user.
>I am not sure this feature is available on the win32 platform, maybe if you
>use it with gnuwin32.
>Hope it helps,
>
>Tomas
>
>-----Original Message-----
>From: Tim Endres <time@ice.com>
>To: J. Jeffrey Close <close@halcyon.com>
>Cc: jcvs@gjt.org <jcvs@gjt.org>
>Date: den 23 september 1998 02:11
>Subject: 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
>>
>
>
--------------------------------------------------------------------
J. Jeffrey Close
France Telecom R&D Pray for rain in Seattle:
close@halcyon.com we are having a drought.
206-545-9360