You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to follow the tutorial but I wasn't able to log in as the git user over ssh. This is after following the instructions on the ssh keys page to disable password logins.
I tried to follow the tutorial but I wasn't able to log in as the
git
user overssh
. This is after following the instructions on the ssh keys page to disable password logins.I would get the errors:
On the VPS the
/var/log/auth.log
showed login attempts rejected with the messageUser git not allowed because account is locked
I managed to fix this problem by issuing the command
passwd -d git
after theuseradd -m git -d /var/git -s /bin/bash
command, as per this post.After doing this I was able to push to the git repo from my machine.
The text was updated successfully, but these errors were encountered: