Changes

Jump to: navigation, search

Tutorial6: File Transfer / Sending Email Messages

389 bytes added, 18:00, 27 January 2020
INVESTIGATION 1: USING SECURE COPY
# Use a text editor to edit the following start-up file: '''~/.bashrc'''<br><br>
# Enter the following text (shown below) at the TOP of this file:<br><span style="color:#8B0000;font-family:courier;">[[ $- == *i* ]] || return </span><br><br>
# Issue the following Linux command to confirm that the '''~/destination''' directory is empty: <span style="color:blue;font-weight:bold;font-family:courier;">ls ~/destination</span><br><br># Although you are in your Matrix account, issue the following Linux command (i.e. yoursenecaid is YOUR Seneca ID):<br><span style="color:blue;font-weight:bold;font-family:courier;">sftp scp myfile.txt yoursenecaid@matrix.senecacollege.ca:/destination</span><br><br>'''NOTE:''' You may be required to type y to have the public key shared.<br><br>
# When prompted, enter your Matrix password.<br><br>
# Issue the same Linux command that you issued in step #x.<br><br>What did you notice?<br><br>
# x
13,420
edits

Navigation menu