13,420
edits
Changes
no edit summary
=INVESTIGATION 2: USING SSH AND OTHER SECURE SHELL UTILITIES=
{|width="40%" align="right"
|- valign="top"
|{{Admon/tip| SELinux | SELinux may prevent ssh from accessing your home directories on centos1 because you created a new filesystem there. You can reset the security context of the /home directory with this command: '''restorecon -Rv /home'''}}
|}
=== Part 1: How do you use scp and sftp. ===
# Try using '''sftp''' to transfer files back and forth between hosts.
# Confirm that the files were transfer and then enter the command '''exit''' to quit your sftp session.
<ol>
<li value="8">You can also use the '''scp''' command to copy files to and from remote hosts and even from one remote host to another.</li>