局域网使用 repo管理代码 gerrit审核的,通过sshkey认证的(生成后公钥发送到服务器开通权限) 之前可以下载代码 重装系统后
用备份的ssh还原/home/用户名/.ssh 然后配置repo 执行 repo init -u git@×××××× 提示 ssh timeout
然后我直接ssh 到服务器 可以链接提示输入密码认证 用git clone 也是ssh超时 。我想问几个问题。
1、ssh生成的公钥 密钥 做备份重装系统后能够直接还原用吗?还是必须再次生成然后再次向服务器申请下载权限?
2、repo init -u git@10.20.××.××:alps/manifest.git -m mtk8127-Korea.xml 提示
ssh: connect to host 10.20.××.×× port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
3、git clone git@×××××也是超时 但是我直接 ssh 10.20.××.×× 是可以的连通的
那么我这个到底是什么原因导致的需要怎么处理 求高手帮忙 对 Ubuntu ssh git repo不懂刚接触。