Networking using arp, ssh, and scp

To list all machines in the address resolution table

arp -a

We can use the Secure Shell (SSH)  network protocol for secure data communication, remote command-line login, remote command execution. First make sure the service is running .

service sshd status

service sshd start

Make it run automatically

chkconfig sshd on

Add a user to another linux machine and ssh to that machine as that user

useradd -m des

Enter your password twice when asked

Now ssh to that machine

ssh des@10.1.54.11

To secure copy the  folder myfolder over the network to /home/joe

scp -r des@10.1.54.11:myfolder /home/joe

To copy the file passwd to a remote machine as newpw

scp /etc/passwd joe@10.3.3.84:newpw