ssh非root用于登录异常慢原因排查
ssh xxx@192.168.x.x -v
打印报文如下:
OpenSSH_7.5p1, OpenSSL 1.0.2o 27 Mar 2018 debug1: Reading configuration data /etc/ssh_config ... /usr/bin/xauth: timeout in locking authority file /home/xsuser/.Xauthority
以上原因大概率是用户家目录属组和属主不对造成的,可能你在使用时修改了这个权限
解决方法:
ls -l #查看/home chown user:user /home/user



