13,420
edits
Changes
no edit summary
# 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 myfile.txt 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 myfile.txt yourmatrixid@matrix.senecac.on.ca ls /home/yourmatrixid</span></code></b> and enter <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>
# 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>