Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7 - HD2

28 bytes added, 10:47, 25 October 2016
no edit summary
# Switch to your '''c7host''' VM.
# Create a file in your current directory with some text in it called: myfile.txt
# Issue the following command (using your Matrix login id):<br><b><code><span style="color:#3366CC;font-size:1.2em;">scp &nbsp; myfile.txt &nbsp; yourmatrixid@matrix.senecac.on.ca:/home/yourmatrixid</span></code></b> and enter your Matrix password. What did this command do?# Issue the following command (using your Matrix login id):<br><b><code><span style="color:#3366CC;font-size:1.2em;">ssh &nbsp; myfile.txt yourmatrixid@matrix.senecac.on.ca &nbsp; ls /home/yourmatrixid</span></code></b> and enter your Matrix password. What did this command do? How does it differ from using issuing the ssh command without the ls command? How is this useful?<br><br>The client ssh application contains the utlities: ssh, scp and sftp to connect to remote Linux servers in order to issue commands or transfer files between Linux servers. We will now install and set-up on one of your VMs.<br><br>
# OpenSSH should have been installed by default. Let's confirm this by issuing the command:<br /> <b><code><span style="color:#3366CC;font-size:1.2em;">rpm -qa | grep ssh</span></code></b>
# You should see a number of packages installed including <b>openssh-clients</b> and <b>openssh-server</b>
13,420
edits