admin@glassfish.java.net

setup-ssh on windows

From: Elena Asarina <elena.asarina_at_oracle.com>
Date: Sun, 10 Oct 2010 12:35:04 -0700

Hello All,

I would like to share my experience, regarding a configuration ssh
without password on windows machines and discuss setup-ssh.
First, I've tried to configure ssh without password for at least 10
windows machines. For none of these machines ssh without password
could work, if simple execute ssh-keygen and copy pub file to
authorised_keys in .ssh in a user home dir. As I understand,
setup-ssh command tries to do exactly such config. I want to add,
that for several windows machines I was able to configure ssh without
password by coping .ssh to C:\ and by renaming authorized_keys to
authorized_keys2, for other windows machines I was not able to configure
ssh without password, probably such machines have another works around.
So it looks for me, that setup-ssh command doesn't have any chance to
configure successfully ssh without password on windows. If setup-ssh
would not exists , then customers, if ssh without password will not
work, would blame machines configuration, a system administrator, them
self, but with such command they would blame glassfish, because it is
our command can not configure ssh without password.
What I would recommend customers, try to configure a machine such way
that can be executed ssh localhost without password, if it works, then
any other machine can be configured to ssh that machine without
password, so at least one way ssh without password would work.

Thank you,

Elena