$ ssh root@xxx.xxx.xx.xx
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
Ubuntu Git服务器搭建及Gitosis安装设置:http://www.linuxdiyf.com/linux/14589.html
centos下应用gitosis搭建git代码仓库:http://www.linuxdiyf.com/linux/14222.html
CentOS 6.3下使用Gitosis安装搭建Git Server教程:http://www.linuxdiyf.com/linux/10279.html
CentOS 6.5+Git 1.8.3.1+Gitosis构建Git服务器:http://www.linuxdiyf.com/linux/10717.html