Your browser does not allow storing cookies. We recommend enabling them.

rcp

The rcp (remote copy) program was a tool for copying files to/from remote computers. It has since been superceded by ssh, particularly the scp tool. Everyone who still has rcp enabled is encouraged to immediately disable it for important security reasons.

The rcp tool was introduced in BSD Unix in the 1980s. It was an important tool at the time, but it suffered from several shortcomings. Its security was poor, and its usability wasn't great.

Security Issues in rcp

rcp used .rhosts files and /etc/hosts.equiv for authentication. These methods relied on IP addresses and DNS (Domain Name System) for authentication. However, spoofing IP addresses is fairly easy, especially if the attacker is on the local network, and at the time it could even be done remotely.

Furthermore, the .rhosts files were stored in users' home directories, which were typically stored on NFS (Network File System) volumes. The security of NFS at that time was poor (and still is, in many installations).

Usability Issues in rcp

A major annoyance in rcp was that it didn't support passwords for authentication. Whenever you wanted to copy files between systems, you first had to set up .rhosts authentication. Besides obvious security implications, this was really cumbersome.

Making ad hoc copying of file easy was a major factor in the success of SSH. It being secure was just an added bonus. The ease of use meant students and employees could learn it more easily and there was less workload on IT support specialists. Lower costs, saved time, more productivity, better user satisfaction.

More Information


 

 
What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.



    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH



    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now