windows服务器ssh_在Windows XP上设置SSH服务器

windows服务器ssh

It is useful sometimes to set up a sshd server on a Windows. One example is using remote forwards tunnel to pass through the firewall.

有时在Windows上设置sshd 服务器很有用。 一个示例是使用远程转发隧道通过防火墙。

My platform is Windows XP SP3.

我的平台是Windows XP SP3。

The sshd server is sshwindows. It can be dowloaded from here: http://sshwindows.sourceforge.net/ . The version I use here is 3.8p1-1 20040709.

sshd服务器是sshwindows。 可以从此处下载:http://sshwindows.sourceforge.net/。 我在这里使用的版本是3.8p1-1 20040709。

It is really easy:

真的很简单:

1) Run sshwindows installer and click OK and OK…

1)运行sshwindows安装程序,然后单击“确定”和“确定”…

2) Run cmd.exe:

2)运行cmd.exe:

3) cd C:Program FilesOpenSSHbin (it depends on the sshd’s install location)

3)cd C:Program FilesOpenSSHbin(取决于sshd的安装位置)

4) ‘mkgroup -l >> ..etcgroup’

4)'mkgroup -l >> ..etcgroup'

5) ‘mkpasswd -l >> ..etcpasswd’

5)'mkpasswd -l >> ..etcpasswd'

Now all local users are added to the sshd users list. More details can be found in the readme.txt file.

现在,所有本地用户都被添加到sshd用户列表中。 可以在readme.txt文件中找到更多详细信息。

6) Configuration the firewall and let it allow the sshd service listening on port 22

6)配置防火墙,并使其允许sshd服务在端口22上侦听

7) Start the sshd service: ‘net start “OpenSSH Server”‘

7) 启动 sshd服务:'net start“ OpenSSH Server”

Now it is OK ;) Try to ssh to the windows and have fun.

现在可以了;)尝试ssh到Windows并玩得开心。

There are some problems such as the default home is “/home/USERNAME”, but you just get a warning and you can change to the directory by yourself. At least, it works.

存在一些问题,例如默认的主目录是“ / home / USERNAME”,但是您只会收到警告,并且可以自己更改目录。 至少,它有效。

翻译自: https://www.systutorials.com/set-up-ssh-server-on-windows-xp/

windows服务器ssh

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值