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
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"