使用ssh访问gitlab时,报以下错误:
WARNING: Your password has expired. Password change required but no TTY available.
原因是某些Linux发行版密码有90天的过期时限,
解决方法是登录到gitlab服务器,延长"git"用户的密码过期时间:
sudo chage -M 999 git