Open main menu

CDOT Wiki β

Changes

OPS435 Python3 Lab 8

505 bytes added, 11:57, 3 July 2020
Part 3: Set up SSH login with public key authentication
</source>
: The above command should add the contents of your pub key to ~/.ssh/authorized_keys under your student account on your VM.
: Verify and confirm that your account on matrix can SSH to your VM as 'student' without prompting for a password:<source lang='bash'>[raymond.chan@mtrx-node05pd lab8]$ ssh -p 7200 student@myvmlab.senecacollege.caLast login: Fri Jul 3 12:46:19 2020 from mtrx-node05pd.dcm.senecacollege.ca[student@centos7 ~]$ exitlogoutConnection to myvmlab.senecacollege.ca closed.[raymond.chan@mtrx-node05pd lab8]$ ssh -p 7200 student@myvmlab.senecacollege.ca 'date;hostname;id'Fri Jul 3 12:55:22 EDT 2020centos7uid=1002(student) gid=1002(student) groups=1002(student),10(wheel)[raymond.chan@mtrx-node05pd lab8]$</source>
== PART 3 - Clone the Workers ==
1,760
edits