linux通过密钥对登录windows openssh server Lance★ | 2023-12-20 10:45 | 2023-12-20 10:55 | 1,016 | 0 | Linux 389 字 | 7 分钟 windows 安装openssh 下载openssh软件包并安装,链接如下: https://github.com/PowerShell/Win32-OpenSSH/releases/tag/v9.5.0.0p1-Beta 服务端生成rsa密钥对 以管理员身份打开powershell,执行如下命令 ssh-keygen -t rsa 一路Ente…
Linux常用命令 Lance★ | 2023-12-18 16:03 | 2023-12-28 13:59 | 961 | 0 | Linux 30 字 | 1 分钟内 上传本地目录到远程机器指定目录 scp -r /opt/soft/mongodb root@10.10.10.10:/opt/soft/scptest 防火墙 firewall-cmd --reload #重启firewall systemctl stop firewalld.service #停止firewall systemctl disabl…