环境:-
ProductName: Mac OS X
ProductVersion: 10.15.4
BuildVersion: 19E287
问题:-
SSH
连接到远程Gerrit服务器的检查 server name not working
哪儿 works with IP address
With IP Address:-
ssh -T -p 29418 [email protected]
**** Welcome to Gerrit Code Review ****
Hi Ramesh, you have successfully connected over SSH.
Unfortunately, interactive shells are disabled.
To clone a hosted Git repository, use:
git clone ssh://[email protected]:29418/REPOSITORY_NAME.git
用服务器名称:-
ssh -Tvvv -p 29418 [email protected]
OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 47: Applying options for *
debug1: Connecting to gerrit.server.com port 29418.
我已经在MAC OS的主机文件中添加了服务器名称,但它仍然被挂起。是OpenSSH的问题吗?
Mac OS升级到ProductVersion: 10.15.5,在这里面工作正常。