使用putty.exe
PuTTY是用于连接Windows上的SSH服务器的最流行的应用程序。它是完全开源的,甚至可以作为便携式应用程序使用,因此您可以将其添加到便携式应用程序工具包中并在任何地方使用它。PuTTY的界面起初可能看起来有点令人生畏和复杂,但一旦开始使用它就相当简单。
与上述其他SSH客户端相比,PuTTY提供了更多功能和选项,作为Windows桌面应用程序运行。与FireSSH一样,PuTTY也提供SSH隧道功能。要使用PuTTY,您真正需要做的就是启动putty.exe,输入远程服务器的主机名(或IP地址),确保端口正确,然后单击“打开”。PuTTY将连接到服务器并提示您输入用户名和密码。如果您愿意,也可以保存此会话信息 - 单击默认设置选项并单击保存,每次打开时,PuTTY将使用您保存的设置。
所有这些选项都可在主配置窗格中找到。您可能不需要触摸任何其他选项。如果要在PuTTY中设置SSH隧道,可以在Connection - > SSH - > Tunnels下找到该选项。
你可以看看这个=> 4-easy-ways-to-use-ssh-in-windows /
对于Windows的ssh服务器,有一个名为tectia-ssh的商业应用程序
https://www.ssh.com/ssh/putty/windows/#sec-What-if-you-don-39-t-have-a-server
您可以在Windows上安装oracle Virtualbox并安装像ubuntu这样的来宾Linux。在那里很容易运行一个ssh服务器。
https://www.virtualbox.org/wiki/Downloads
安装VirtualBox和扩展包:
https://www.virtualbox.org/manual/ch01.html#intro-installing
Ubuntu页面和下载页面......... 这里
安装ssh:http://linux-sys-adm.com/how-to-install-and-configure-ssh-on-ubuntu-server-14.04-lts-step-by-step/
Step 1 – Update repositories.
root@mail:/# apt-get update
root@mail:/# apt-get upgrade
Step 2 – Install SSH Server
root@mail:/# apt-get install openssh-server
Basic Configuration
Step 3 – After installation I will show how to configure ssh server. Open ssh config file with the following command:
root@mail:/# nano /etc/ssh/sshd_config
Step 4 – If you want to change ssh port you have to find ‘Port’ line and change the number of the port. For example I will change to 22222.
Port 22222
Step 5 – I will set max login attempts to be 3. After 3 wrong login attempts you will disconect. This is very important for security of your server and this can be used for prevention from brute force attack (see my Theme 4). Add this line bellow Port:
MaxAuthTries 3
Step 6 – Allow certain users to login on your server and deny all other users. I will add ‘zimbra’ users because my Zimbra Mail Serve should have access. For more information about Zimbra Mail Server configuration read theme 12. Add the following line at the end of the file and after that save the file /etc/ssh/sshd_config.
AllowUsers mslavov zimbra
Step 7 – Restart ssh service with the following command:
root@mail:/# service ssh restart
Now only this two users will have access to your server.
-------------------------------------------------- ---------------------------
在putty页面上有一个免费的ssh-server名称bitvise-server,我没有尝试过但是可以解决这个问题......... https://www.putty.org/
https://www.bitvise.com/ssh-server-download
Bitvise SSH服务器:Windows屏幕截图的安全文件传输和终端shell访问
我们的SSH服务器支持从Windows XP SP3和Windows Server 2003到最近的Windows 10和Windows Server 2016的所有桌面和服务器版本的Windows,32位和64位。
Bitvise SSH Server支持以下SSH服务:
Secure remote access via console (vt100, xterm and bvterm supported)
Secure remote access via GUI (Remote Desktop or WinVNC required)
Secure file transfer using SFTP and SCP (compatible with all major clients)
Secure, effortless Git integration
Secure TCP/IP connection tunneling (port forwarding)
您可以无风险地试用Bitvise SSH Server。首先,只需下载安装可执行文件 - 您将在我们的下载页面上找到下载链接。安装后,您可以自由评估Bitvise SSH服务器最多30天。如果您决定继续使用它,请购买许可证。
在安装过程中选择个人版本时,非商业个人用户可以免费使用Bitvise SSH Server。