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

编程知识 更新时间:2023-04-28 14:27:56

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/ . The version I use here is 3.8p1-1 20040709.

sshd服务器是sshwindows。 可以从此处下载:http://sshwindows.sourceforge/。 我在这里使用的版本是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/set-up-ssh-server-on-windows-xp/

windows服务器ssh

更多推荐

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

本文发布于:2023-04-21 11:34:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/bbe383eb31f8a3e772d08b47e649773a.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:服务器   windows   SSH   XP   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 93161文章数
  • 23633阅读数
  • 0评论数