Filter By

Package Types

Operating System

Categories

Trust Information

By: | 0 downloads | Last Updated: 9/14/2026 | Latest Version: 2.1.1

向目标主机安装SSH公钥实现免密登录,或从目标主机移除本机公钥恢复密码登录。 语法: 安装公钥:Copy-SshId [用户@]主机 [-RemoteUser 用户] [-RemotePort 端口] [-KeyFile 公钥路径] 别名:-RemoteUser=-l -RemotePort=-p -KeyFile=-i 例:Copy-SshId root@192.168.1.10 Copy-SshId 192.168.1.10 -l root -p 2222 -i C:\Users\xxx\.ssh\id_ed25519.pub 未指定 -KeyFile 时自动选用 ~\.ssh 下第一个可用公钥;免密已生效时直接跳过。 ... More info