我将所有密钥存储在.ssh之外,并在.ssh/config中配置用于哪个服务器的密钥。我怎样才能让ssh-copy-id尊重这一点呢?
发布于 2022-04-06 12:57:34
你可以试试:
ssh-copy-id -i {{the key you want to copy}}
{{the Host config name in ~/.ssh/config file}}https://unix.stackexchange.com/questions/680990
复制相似问题