我没有权限访问一些ssh相关文件。
ls -al /home/ccc/.ssh/known_hosts
-rw------- 1 root root 7770 Jan 20 16:14 /home/ccc/.ssh/known_hosts
获取权限:
ccc@es-chen:~$ sudo chown -R ccc:ccc .ssh
ccc@es-chen:~$ ssh cccadmin@ccchost -A -X
The authenticity of host 'ccchost (myip)' can't be established.
ECDSA key fingerprint is 17:d5:07:c8...............:54:5e.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'ccchost,myip' (ECDSA) to the list of known host
现在确定