windows配置ssh免密登录linux

  sre

windows上

ssh-keygen

服务器

将windows生成的id_rsa.pub放到家目录

mddir -p ~/.ssh
cat ~/id_rsa.pub >> ~/.ssh/authorized_keys

重启ssh服务

service sshd restart 

LEAVE A COMMENT

Captcha Code