【Tool】Linux和windows之间通过scp复制文件

版权声明:These violent delights have violent ends。WeChat:neonwater https://blog.csdn.net/u014647208/article/details/82225155

Linuxwindows之间通过scp复制文件
安装以及设置过程如下:
BvSshServer(原名winsshd)官方下载页在这里:https://www.bitvise.com/download-area
下载完成BvSshServer-Inst.exe

接下来我们安装,首先会跳出一个黑框和一个窗口,黑框在安装过程中不用管它。点击“I agree to accept all the terms of this License Agreement”(同意条款),点击Install安装。

接下来会跳出版本选择窗口,标准版(Standard edition)有30天试用期,个人版(Person edition)有功能限制,鉴于目前测试暂时用不到标准版功能,这里选个人版。

稍后我们会在黑框看到安装进度,安装完成后会有提示,在提示框点击确定



在弹出的控制面板中选择“open easy settings”接下来我们配置一个虚拟账户

在服务器设定的防火墙设置中,选择对所有计算机开放端口(默认只对子网开放端口)

切换到windows账户标签卡中,取消选中(不允许使用windows账户登录)

切换到虚拟账户选项卡,添加一个用户名和密码均为admin的账户。




这里最好配置成免密码登录:点击public keys 导入公钥文件 id_rsa.pub

回到控制面板,选中启动服务

启动完之后我们可以用netstat -a命令看22端口是否打开

上面服务端配置完毕。

可使用以下指令查看:

ssh-keygen -l -f ~/.ssh/known_hosts

猜你喜欢

转载自blog.csdn.net/u014647208/article/details/82225155
今日推荐