[spark-hadoop@master ~]$ sudo scp /etc/profile spark-hadoop@slave1:/etc spark-hadoop@slave1's password: scp: /etc/profile: Permission denied [spark-hadoop@master ~]$ sudo scp /etc/profile root@slave1:/etc root@slave1's password: profile 100% 2595 2.5KB/s 00:00 [spark-hadoop@master ~]$