Ann, a junior Linux administrator, needs to copy software from her local machine to assist in developing a software application on a remote machine with the IP address 192.168.3.22. The file needs to be placed on the /tmp directory. After downloading the RPM to the local machine, which of the following commands would be BEST to use to copy the software?
A. scp ~/software.rpm [email protected]:/tmp
B. scp ~/software.rpm [email protected]: /tmp
C. wget [email protected]:/tmp -f ~/software.rpm
D. scp [email protected] ~/software.rpm :/tmp
shouldn’t be B? on A there is an extra blank space 192.168.3.22: /tmp
The answer has to be A.
A. is correct answer http://www.hypexr.org/linux_scp_help.php
A – Copy from local to remote host
C- Download from remote host