随笔分类 - ssh
摘要:今天在服务器上配置了自己电脑的public key,但是还是不能直接免密码登录, 原因是 ssh 对目录的权限有要求,代码中要设置下新生成的config文件权限才行。~目录权限是750,~/.ssh 的是700, ~/.ssh/* 的是600,~/.ssh/config 是700 -rw-rw-r-
阅读全文
摘要:/workspace:$ ssh-copy-id root@10.103.xx.xx -p 22022/usr/local/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that ...
阅读全文

浙公网安备 33010602011771号