登陆gitlab报错

使用ssh访问gitlab时,报以下错误:

WARNING: Your password has expired. Password change required but no TTY available.

原因是某些Linux发行版密码有90天的过期时限,

解决方法是登录到gitlab服务器,延长"git"用户的密码过期时间:

sudo chage -M 999 git

 

posted @ 2020-05-18 10:26  宇都宫的小熊  阅读(590)  评论(0编辑  收藏  举报