以下选项哪个命令是用 hadoop 用户登录,通过 scp 命 令实现密钥拷贝到 slave1 节点上( )
A.scp ~/.ssh/id_rsa.pub hadoop@slave2:~/ B.scp ~/.ssh/id_rsa.pub root@slave1:~/ C.scp ~/.ssh/id_rsa.pub hadoop@slave1:~/ D.scp ~/.ssh/id_rsa.pub slave1@root:~/正确答案C
以下选项哪个命令是用 hadoop 用户登录,通过 scp 命 令实现密钥拷贝到 slave1 节点上( )
A.scp ~/.ssh/id_rsa.pub hadoop@slave2:~/ B.scp ~/.ssh/id_rsa.pub root@slave1:~/ C.scp ~/.ssh/id_rsa.pub hadoop@slave1:~/ D.scp ~/.ssh/id_rsa.pub slave1@root:~/正确答案C