另一点,,我结合torisecvs这个工具,用系统账户是可以连接的(也就是说通过SSH可以导出内容),但是结合WINCVS就没有反应了(资料有说,该工具采用SSH不需要执行LOGIN操作,,可是不执行一点动静也没有,执行了,当然是不支持了。)作者: smallfish382 时间: 2005-6-7 21:26
看了你的BLOG资料,,这些也都是基于linux,,我都有看过——-
好像很少有基于WINDOWS的哦!!作者: tacy_lee 时间: 2005-6-9 15:01
配置了一下openssh for windows 基本没什么区别,以下几点需要注意
1.readme中下面一段
The /home Directory
-------------------
In the passwd file, you will notice that the user's home directory is set as /home/username, with username being the name of the account. In the default install, the /home directory is set to the default profile directory for all users. This is usually C:\Documents and Settings on Windows 2000 and XP, and C:\WINNT\Profiles on Windows NT 4.0. The location of /home can be edited to fit your special requirements by editing a registry key.
To change the Windows directory /home corresponds to, you will need to edit a registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home. The value of the key named "native" is the directory that /home is. If you want all your users to enter in a directory on your machine called F:\Users, change "native" to read F:\Users. By default, each user will then be placed in the directory F:\Users\username, where username is the name of the user account. To place the user directly under f:\Users, change the home directory in passwd to /home.
上面这段告诉你怎么配置home目录
2.修改etc/sshd_config
# The following setting overrides permission checks on host key files
# and directories. For security reasons set this to "yes" when running
# NT/W2K, NTFS and CYGWIN=ntsec.
StrictModes no (这里yes改为no)
RSAAuthentication no
#PubkeyAuthentication yes
AuthorizedKeysFile ssh/authorized_keys (.ssh的目录名在windows中不支持,改成ssh)