ssh-copy-id 的用法

ssh-keygen -t  rsa

ssh-copy-id -i ~/.ssh/id_rsa.pub  root@192.168.0.3

 

sshd_config

UsePAM no
UseDNS no
AddressFamily inet
PermitRootLogin yes
SyslogFacility AUTHPRIV
PasswordAuthentication no

Comment

*

沪ICP备14014813号-2

沪公网安备 31010802001379号