实现scp传送不需要密码

1. ssh-keygen  -t  rsa

2. scp -r id_rsa.pub 10.10.10.17:/root/.ssh/authorized_keys

猜你喜欢

转载自feitu-jeff.iteye.com/blog/1880631