Windows 7 – Cygwin SSH的目录权限(Windows 7)
发布时间:2020-12-13 20:18:27 所属栏目:Windows 来源:网络整理
导读:我是 Linux的粉丝,但是由于 Linux中的英特尔无线驱动程序不好,我不得不切换到Windows 7.我已经在Windows中安装了Cygwin,并希望将SSH配置为远程连接到笔记本电脑. 我用Google搜索并发现了information for installing openssh server on Win 7,但是当运行ssh-h
我是
Linux的粉丝,但是由于
Linux中的英特尔无线驱动程序不好,我不得不切换到Windows 7.我已经在Windows中安装了Cygwin,并希望将SSH配置为远程连接到笔记本电脑.
我用Google搜索并发现了information for installing openssh server on Win 7,但是当运行ssh-host-config时,我收到以下错误: bala@bala-PC ~ $ssh-host-config yes *** Info: Creating default /etc/ssh_config file *** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes *** Info: Creating default /etc/sshd_config file *** Info: Privilege separation is set to yes by default since OpenSSH 3.3. *** Info: However,this requires a non-privileged account called 'sshd'. *** Info: For more info on privilege separation read /usr/share/doc/openssh/READ ME.privsep. *** Query: Should privilege separation be used? (yes/no) no *** Info: Updating /etc/sshd_config file *** Warning: The following functions require administrator privileges! *** Query: Do you want to install sshd as a service? *** Query: (Say "no" if it is already installed as a service) (yes/no) yes *** Query: Enter the value of CYGWIN for the daemon: [] *** Info: On Windows Server 2003,Windows Vista,and above,the *** Info: SYSTEM account cannot setuid to other users -- a capability *** Info: sshd requires. You need to have or to create a privileged *** Info: account. This script will help you do so. *** Warning: The owner and the Administrators need *** Warning: to have .w. permission to /var/run. *** Warning: Here are the current permissions and ACLS: *** Warning: drwxr-xr-x 1 bala None 0 2010-01-17 22:34 /var/run *** Warning: # file: /var/run *** Warning: # owner: bala *** Warning: # group: None *** Warning: user::rwx *** Warning: group::r-x *** Warning: other:r-x *** Warning: mask:rwx *** Warning: *** Warning: Please change the user and/or group ownership,*** Warning: permissions,or ACLs of /var/run. *** ERROR: Problem with /var/run directory. Exiting. 此文件夹的权限显示为只读(仅适用于此文件夹),灰色检查.我试图取消勾选,但是再次打开属性后,再次检查该框.有没有办法更改这个文件夹的权限?
我在Windows 7 x64和sshd上运行cygwin 1.7.我不记得当我运行sshd_config时收到这个错误,但是我只是看了我的/ var / run目录,它设置为777.
尝试这个在cygwin shell chmod 777 / var / run (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 项目管理 – 您使用的Microsoft Project等免费项目规划工具
- .net – Windows:列出并启动与扩展名关联的应用程序
- 在Windows下编译gnu目标c时,objective-c-libgmp-10.dll丢失
- windows+tomcat+https(免费证书)
- windows-7 – 更改Windows(7)的方法通过脚本监视设置
- windows – ‘foreman’不被识别为内部或外部命令
- 从“审核模式”(预先克隆)Windows 8升级到Windows 8.1?
- 窗口 – 使用.bat文件的自定义Tee命令
- windows-phone-7 – 列出已安装的应用程序
- Windows安装解压版Mysql
推荐文章
站长推荐
热点阅读