Chapter 18: OpenSSH: Secure Network Communication

Report
Linux Operating System
A Practical Guide to Fedora and Red Hat Enterprise Linux
Unit 7: Linux Network Services
Chapter 18: OpenSSH: Secure Network
Communication
By Fred R. McClurg
© Copyright 2013, All Rights Reserved
Secure Systems
 scp: Secure
Copy
◦ Performs a secure and
encrypted copy from one
system to another.
 ssh: Secure
Shell
◦ Enables secure and encrypted
logins between remote
systems.
scp: Example
 Syntax:
scp \
[email protected]:srcFile \
[email protected]:destFile
scp: Scenario

Problem:
◦ User abc wants to copy the ~/.bashrc
file from his or her local computer to a
system named bravo

Which is the correct solution?
◦ cp ~abc/.bashrc bravo:~abc
◦ scp ~/.bashrc bravo:~abc
◦ scp [email protected]/.bashrc ~
◦ scp ~/.bashrc [email protected]
scp: Scenario

Which is the correct solution?
1. cp ~abc/.bashrc bravo:~abc
2. scp ~/.bashrc bravo:~abc
3. scp [email protected]/.bashrc ~
4. scp ~/.bashrc [email protected]

Answers:
1. Creates file named “bravo:~abc”
2. Works!
3. Copy wrong direction. Missing colon
4. Should have colon at end. Creates file
named [email protected]

similar documents