过程如下所示
wenbo.tian@tianwenbo-PC ~
$ ssh-host-config
*** Query: Overwrite existing /etc/ssh_config file? (yes/no) 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/README.privsep.
*** 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: [] cygwin-sshd
*** 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: No privileged account could be found.
*** 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: Create new privileged user account 'cyg_server'? (yes/no) yes
*** Info: Please enter a password for new user cyg_server. Please be sure
*** Info: that this password matches the password rules given on your system.
*** Info: Entering no password will exit the configuration.
*** Query: Please enter the password:
*** Query: Reenter:
*** Query: Please enter the password:
*** Query: Reenter:
*** Info: User 'cyg_server' has been created with password 'wenbo@tian00'.
*** Info: If you change the password, please remember also to change the
*** Info: password for the installed services which use (or will soon use)
*** Info: the 'cyg_server' account.
*** Info: Also keep in mind that the user 'cyg_server' needs read permissions
*** Info: on all users' relevant files for the services running as 'cyg_server'.
*** Info: In particular, for the sshd server all users' .ssh/authorized_keys
*** Info: files must have appropriate permissions to allow public key
*** Info: authentication. (Re-)running ssh-user-config for each user will set
*** Info: these permissions correctly. [Similar restrictions apply, for
*** Info: instance, for .rhosts files if the rshd server is running, etc].
*** Info: The sshd service has been installed under the 'cyg_server'
*** Info: account. To start the service now, call `net start sshd' or
*** Info: `cygrunsrv -S sshd'. Otherwise, it will start automatically
*** Info: after the next reboot.
*** Info: Host configuration finished. Have fun!
分享到:
相关推荐
Cygwin安装和openssh配置,Cygwin基本安装和ssh配置
Windows下的SSH安装之Cygwin
按此方法可以成功在 windows 的 cygwin 下安装 sshd, 配置后即可从其它机器利用 ssh 命令登录
双击打开下载完成的cygwin,进入安装程序首页,下一步 扩展包的安装方式选择,默认即可(从网上下载并安装),下一步 选择软件的安装目录和允许使用的用户,默认即可,下一步 选择从网上下载的软件包的存储路径,...
1、Windows下使用cygwin来进行版本管理需要安装的三个工具,openssh.git vim 2、通过 git -version vim -help ssh -v 来验证你是否已经安装成功。
win8 上还是用32位的 cygwin吧,64位的cygwin 无法运行"ssh localhost
cygwin的ssh安装包,官方下载的..包括了必须的安装包,主要是为了给hadoop用的
介绍windows下安装hadoop的过程,包括,安装JDK,在cygwin下安装SSH,hadoop配置,eclipse插件的配置等。
Cygwin ssh 故障总结 Cygwin ssh 故障总结
cygwin的ssh安装包,官方下载的..包括了必须的安装包,主要是为了给hadoop用的
cygwin的ssh安装包,官方下载的..包括了必须的安装包,主要是为了给hadoop用的
NOTE: older versions of Cygwin libraries and/or OpenSSH MAY contain bugs and security vulnerabilities. Windows XP/2003 : After Cygwin release 2.5.2 Windows XP/2003 was no longer supported. OpenSSH ...
ssh-pageant, 一个用于 CYGWIN/MSYS的SSH认证代理 Putty sshCYGWIN/MSYS的SSH认证代理,它将OpenSSH链接到 Putty的Pageant 。 SSH是一个用于 Windows的小型工具,允许你使用来自 CYGWIN Pageant和 MSYS shell 环境的...
Cygwin最新版2.738本地安装包,内附详细的傻瓜式安装教程,专为Android NDK定制,整个压缩包大小才47.3MB,方便网速慢的人下载,本人亲测成功。 (由于CSDN上传限制,只能上传20M的文件,故将文件分成四部分上传,每...
“openssh for windows”这个项目是一个用cygwin包装了最小的openssh服务端和客户端的工具,基本的ssh、scp、sftp、ssh-agent、ssh-keyscan 命令都具备,安装程序会自动注册Path目录和注册表,现在就能直接在命令行...
win7(32位)平台下Cygwin+Eclipse搭建Hadoop单机开发环境 Cygwin(32位)的安装 + ssh的配置 离线安装包
。。。
。。。
cygwin的ssh安装包,官方下载的..包括了必须的安装包,主要是为了给hadoop用的