ssh-keygen -t rsa -P '' -f ~ /
.ssh/id_rsa
cp id_rsa.pub authorized_keys ssh
localhost You
also need to enter a password)
scp file host name: path
scp authorized_keys slave1:/home/hadoop/.ssh
ssh without password authentication, use ssh to interact between multiple machines
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326655633&siteId=291194637
Recommended
Ranking