Hadoop을 설치하기 위해 Windows 7의 Cygwin에 OpenSSH를 설치합니다.
이전에 OpenSSH를 설치했지만 비밀번호가 있습니다. 비밀번호 제거 시도가 모두 실패하여 Cygwin을 다시 설치했습니다. 나도 비밀번호 없이 OpenSSH를 원하고 다음을 따랐습니다.지침.
그러나 비밀번호를 비워둘 수는 없습니다. 왜 그럴까요? 어떻게 해야 하나요?
추가 정보: 관리자 권한으로 Cygwin bash를 실행하고 있습니다. 내 Windows에는 비밀번호가 설정되어 있지 않습니다.
나는 다음을 본다:
User@computer ~
$ chmod +r /etc/passwd
User@computer ~
$ chmod u+w /etc/passwd
User@computer ~
$ chmod +r /etc/group
User@computer ~
$ chmod u+w /etc/group
User@computer ~
$ chmod 755 /var
User@computer ~
$ touch /var/log/sshd.log
User@computer ~
$ chmod 664 /var/log/sshd.log
User@computer ~
$ ssh-host-config
*** Info: Generating /etc/ssh_host_key
*** Info: Generating /etc/ssh_host_rsa_key
*** Info: Generating /etc/ssh_host_dsa_key
*** Info: Generating /etc/ssh_host_ecdsa_key
*** Info: Creating default /etc/ssh_config file
*** 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
*** Query: Should privilege separation be used? (yes/no) no
*** Info: Updating /etc/sshd_config file
*** 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.
*** Info: You appear to be running Windows XP 64bit, Windows 2003 Server,
*** Info: or later. On these systems, it's not possible to use the LocalSystem
*** Info: account for services that can change the user id without an
*** Info: explicit password (such as passwordless logins [e.g. public key
*** Info: authentication] via sshd).
*** Info: If you want to enable that functionality, it's required to create
*** Info: a new account with special privileges (unless a similar account
*** Info: already exists). This account is then used to run these special
*** Info: servers.
*** Info: Note that creating a new user requires that the current account
*** Info: have Administrator privileges itself.
*** Info: The following privileged accounts were found: 'cyg_server' .
*** Info: This script plans to use 'cyg_server'.
*** Info: 'cyg_server' will only be used by registered services.
*** Query: Do you want to use a different name? (yes/no) no
*** Query: Please enter the password for user 'cyg_server':
*** Query: Please enter the password for user 'cyg_server':