月度归档: 2023年12月

2 篇文章

thumbnail
linux通过密钥对登录windows openssh server
windows 安装openssh 下载openssh软件包并安装,链接如下: https://github.com/PowerShell/Win32-OpenSSH/releases/tag/v9.5.0.0p1-Beta 服务端生成rsa密钥对 以管理员身份打开powershell,执行如下命令 ssh-keygen -t rsa 一路Ente…
Linux常用命令
上传本地目录到远程机器指定目录 scp -r /opt/soft/mongodb root@10.10.10.10:/opt/soft/scptest 防火墙 firewall-cmd --reload #重启firewall systemctl stop firewalld.service #停止firewall systemctl disabl…