...
For Steps 10 - 12 --- On Mac Terminal
*Please note that you do not have to name your key as keyfile-private-file
Code Block |
---|
scicomp@MAC2024 ~ % scicomp@MAC2024 ~ % ls -ld ~/.ssh #Confirm you have a .ssh directory - in this example we have a .ssh drwx------ 10 scicomp staff 320 Sep 4 14:38 /Users/scicomp/.ssh #If you DO NOT have an output as above mkdir ~/.ssh scicomp@MAC2024 ~ % cd .ssh scicomp@MAC2024 .ssh % vim keyfile-private-file #other commands: touch keyfile-private-file or nano keyfile-private-file scicomp@MAC2024 .ssh % ls -l -rw------- 1 scicomp staff 420 May 9 2024 keyfile-private-file #permissions have been change. If you have not change permissions use chmod 600 ~/.ssh/keyfile-private-file #Your login will fail if your permissons are not as stated above. scicomp@MAC2024 ~ % ssh -i <keyfile-private-file> <cwid>@cayuga-login1.cac.cornell.edu |
...