2025年4月3日 星期四

Windows無法用ssh-copy-id複製公鑰的替代方法

在命令提示字元視窗執行

type %USERPROFILE%\.ssh\[SSH公鑰檔名] | ssh [Linux使用者]@[Linux主機] "cat >> .ssh/authorized_keys"


參考來源:Alternative to ssh-copy-id on windows