admin@glassfish.java.net

Re: Win. start-local-instance executed remotely has issues.

From: Elena Asarina <elena.asarina_at_oracle.com>
Date: Thu, 12 Aug 2010 11:50:38 -0700

Hello Byron,

I had many issues with the configuration of ssh without password on
windows. To solve the issues, I did such steps:
1) Renamed authorized_keys to authorized_keys2
2) Put .ssh directory in a user home dir and in C:

After that I was able to configure ssh without password for two
particular machines, for Administrator user. When I've tried to do the
same for not Administrator user, it did not work. But I was not able to
configure ssh without password on other two machines, for Administrator.
I can not spend more time on ssh configuration on windows. But it is
not an obvious procedure. And I see it as an obstacle for the
customers, unless we will provide a reliable configuration procedure.
By the way, I always was able to configure rsh (without password) on
any windows machines without any issues.

Elena

Joe Di Pol wrote:
> Byron Nevins wrote:
>> Joe,
>>
>> Do you have step by step instructions for getting ssh up and running
>> on a Windows machine?
>
> I do not (it's on my todo list). Rajiv or Elena may have something.
>
> Joe
>
>>
>>
>> On 8/12/2010 11:06 AM, Joe Di Pol wrote:
>>>
>>> Known bug on Windows.
>>>
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=12832
>>>
>>> Out of curiosity, were you using cygwin or mks?
>>>
>>> Thanks,
>>>
>>> Joe
>>>
>>> Elena Asarina wrote:
>>>> Hello,
>>>>
>>>> I have a question/issue.
>>>> I've tried to run such command:
>>>>
>>>> $ ssh liz-vm8 $S1AS_HOME/bin/asadmin start-local-instance in2
>>>> CLI801 Instance is already synchronized
>>>> Waiting for the server to start ..........
>>>> Successfully started the instance: in2
>>>> instancelocation:
>>>> C:\elena\glassfishv3\glassfish\nodeagents\liz-vm8\in2
>>>> Log File:
>>>> C:\elena\glassfishv3\glassfish\nodeagents\liz-vm8\in2\logs\server.log
>>>> Admin Port: 14848
>>>> Command start-local-instance executed successfully.
>>>>
>>>>
>>>> But I never got a prompt back. What I can do only, to execute Ctrl-C.
>>>> At the same time I've executed jps on the remote machine
>>>> (liz-vm8), to check ASMain process. But new ASMain process was
>>>> not created
>>>> If to execute the same command locally, the prompt would be
>>>> returned and and a process would be created..
>>>> I can not classify it is as bug, but I think it could be an issue
>>>> if somebody would like to configure everything remotely, using some
>>>> script. At least that person has to know that start-local-instnace
>>>> should not be used.
>>>>
>>>> I did not see this issue for other commands and I saw this issue
>>>> only on Windows.
>>>>
>>>> Any suggestions?
>>>>
>>>> Thank you,
>>>>
>>>> Elena
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>