Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7 - SSD

2 bytes added, 09:38, 15 June 2016
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.
{|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'''}}
 
|}
<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>
13,420
edits