【发布时间】:2014-04-11 12:52:18
【问题描述】:
这是我每次在 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 更改权限。 谁能帮我调试这个?! 而且当我使用 “网络启动openssh” 我收到“系统错误 5 已发生。访问被拒绝”
【问题讨论】:
-
调试什么? SSHD 服务器已启动并正在侦听端口 22。“拒绝访问”意味着您需要管理员权限才能将其作为服务启动。