vscode ssh key登入

ahuo發表於2024-11-08

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

ssh-copy-id -p 1234 root@ddns.1.2
Host ddns.1.2
HostName ddns.1.2
User root
Port 1234
IdentityFile C:/Users/Administrator/.ssh/id_rsa
目標機器:
/root/.ssh/authorized_keys

相關文章