时间:2023-06-02 16:16:41 来源: 人气:
cygwin在Windows8.1中设置ssh的问题解决, 为了在Windows 8.1上直接使用Linux环境和hadoop开发,装了cygwin,同时设置ssh无密码登录。, 但正常ssh-keygen后复制到authorised_keys后登录出现提示:, Permissions 0660 for /home/***/.ssh/id_rsa are too open. It is required that your private key files are NOT accessible by others., 意思是密钥文件的权限太松了,于是想收窄权限,但无论怎样chmod都收不回group和other的rw权限。, 一番查找后才发现原来是一个N年前我工作中在AIX上也遇到过的问题,就是文件的group没有,或者在cygwin中分组显示为None的原因。解决方法就是先赋予分组,简单粗暴chgrp Users给个普通用户分组,再改权限就没问题了。,