easy install: minor improvement in detection of password-less auth

This commit is contained in:
Sitaram Chamarty 2009-10-13 09:55:58 +05:30
parent 55ccb8291b
commit 030b3f29ef

View file

@ -110,7 +110,7 @@ ls src/gl-auth-command \
# is, running "ssh git@server" should log in straight away, without asking for # is, running "ssh git@server" should log in straight away, without asking for
# a password # a password
ssh -p $port -o PasswordAuthentication=no $user@$host pwd >/dev/null || ssh -p $port -o PasswordAuthentication=no $user@$host true ||
die "pubkey access didn't work; please set it up using 'ssh-copy-id' or something" die "pubkey access didn't work; please set it up using 'ssh-copy-id' or something"
# MANUAL: make sure there's no "gitolite-admin" directory in $HOME (actually # MANUAL: make sure there's no "gitolite-admin" directory in $HOME (actually