Git fetch origin master asks password of the vcs-user


#1

Hi,

After running git remote add origin ssh://vcs-user@test.do.relou.fr/diffusion/4/depot-2.git, i run git fetch origin master
vcs-user@test.do.relou.fr’s password:

password is asked whereas in the /etc/shadow i set NP for this user?

why
Thanks

Kiet


#2

You have not configured the sshd currectly; When configured correctly, it can’t ask for a password.
See https://secure.phabricator.com/book/phabricator/article/diffusion_hosting/#sshd-setup


#3

OK thanks
i have a problem for the file sshd_config.phabricator

option: AuthorizedKeysCommandUser
i set vcs-user

but when i run :
/usr/sbin/sshd -f /etc/ssh/sshd_config.phabricator
/etc/ssh/sshd_config.phabricator: line 7: Bad configuration option: AuthorizedKeysCommandUser

what is the problem?


#4