scp copies files between hosts on a network. It uses ssh for data transfer, and uses the same authentication and provides the same security as a login session. scp will ask for passwords or passphrases if they are needed for authentication.