PrepAway - Latest Free Exam Questions & Answers

Which of the following commands copies files between hosts on a network and uses the same authentication as ss

Which of the following commands copies files between hosts on a network and uses the same
authentication as ssh, and will ask for passwords or passphrases if they are needed for
authentication?

PrepAway - Latest Free Exam Questions & Answers

A.
scp

B.
rcp

C.
cp

D.
mv

Explanation:

The scp command copies files between hosts on a network. It uses ssh for data transfer, and uses
the same authentication and provides the same security as ssh. Unlike rcp, scp will ask for
passwords or passphrases if they are needed for authentication. Any file name may contain a host
and user specification to indicate that the file is to be copied to/from that host. Copies between two
remote hosts are permitted.
Answer option B is incorrect. The rcp command copies files between machines. The rcp command
does not prompt for passwords; it uses Kerberos authentication when connecting to rhost.
Answer option C is incorrect. The cp command copies files and directories. It is generally used to
make a backup copy of a file or to copy a file from one directory to another.
Answer option D is incorrect. The mv command moves files and directories from one directory to
another or renames a file or directory.

One Comment on “Which of the following commands copies files between hosts on a network and uses the same authentication as ss


Leave a Reply