二维码字帖归属地
alan0405 2023-04-19 14:38:33
自动将windows本地公钥写入linux服务器的bat
set /p value=<%USERPROFILE%\.ssh\id_rsa.pub set /p hostname=hostname['%hostname%']: ssh root@%hostname% "echo "%value%" >> .ssh/authorized_keys & cat .ssh/authorized_keys "
Главная - Вики-сайт Copyright © 2011-2024 iteam. Current version is 2.139.0. UTC+08:00, 2024-12-25 16:19 浙ICP备14020137号-1 $Гость$