Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7 - HD2

41 bytes added, 10:46, 2 November 2016
no edit summary
:'''Perform the following steps:'''
# Launch your '''c7host machine ''' and '''ALL of your VMs'''.
# Switch to your '''c7host''' VM.
# Create a file in your current directory of your c7host machine 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 single command (arguments are separated by a space - use 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><br>(followed by your Matrix password)<br>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''' (learned in ULI101) to connect to remote Linux servers in order to issue commands or transfer files between Linux servers. You can install the SSH service on your Linux server, although this has already been performed upon installation. We will now confirm that the ssh service is running on all of your VMs.<br><br>
13,420
edits