Linux服务器安装gitosis后,ssh登陆失败

$ ssh [email protected]

PTY allocation request failed on channel 0

ERROR:gitosis.app:Configuration does not exist: [Errno 2] No such file or directory: '/root/.gitosis.conf'

Connection to xxx.xxx.xx.xx closed.

报错如上,解决如下:

想办法在服务器上删除 /root/.ssh/authorized_keys

你可能感兴趣的:(Linux服务器安装gitosis后,ssh登陆失败)