无法在Windows中启动Openssh

时间:2014-03-08 06:25:29

标签: windows-7 cmd openssh

这是我每次在cmd中运行sshd时得到的结果。

C:\Program Files\OpenSSH\usr\sbin>sshd -d -d -d
debug2: read_server_config: filename /etc/sshd_config
debug1: sshd version OpenSSH_3.8.1p1
debug3: Not a RSA1 key file /etc/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.

我是ssh客户端的新手,我正在我正在做的项目中使用它... 我在http://www.worldgoneweb.com/2011/installing-openssh-on-windows-7/得到了这个方法 我无法使用chmod和chown更改权限,如该论坛中所示。 谁能帮我调试一下这个? 而且当我使用时 “net start openssh” 我收到“系统错误5已发生。访问被拒绝”

1 个答案:

答案 0 :(得分:3)

我就是按照同样的文章自己做的。我得到了"系统错误5"消息最初也是。

解决方案:通过右键单击并选择"以管理员身份运行"

,以管理员身份运行cmd.exe