easy install: minor improvement in detection of password-less auth
This commit is contained in:
parent
55ccb8291b
commit
030b3f29ef
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue