Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Please email scu@med.cornell.edu with requests for cayuga cluster.

The link below is technical documentation for users on the Cayuga Cluster

https://github.com/CornellCAC/Cayuga/wiki

You will follow the steps for setting up your access https://www.cac.cornell.edu/techdocs/clusters/cayuga/

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

image-20240905-142736.png

image-20240905-142909.png

Config file

  • Add to or create a new file on your laptop to add the login nodes and all hosts ~/.ssh/config

On Mac Terminal

Code Block
scicomp@MAC2024 ~ % 
scicomp@MAC2024 ~ % cd .ssh
scicomp@MAC2024 .ssh % ls  (check what is listed below if there is anything)
scicomp@MAC2024 .ssh % vim config 

Editing your config file

Code Block
 Host cayuga-login1
   Hostname cayuga-login1.cac.cornell.edu
   IdentityFile ~/.ssh/your_cayuga_key
   User your_cwid
 Host c00*
   IdentityFile ~/.ssh/your_cayuga_key
   User your_cwid
   ProxyCommand ssh -i .ssh/[your_key_name] -W %h:%p cayuga-login1

In your chosen text editor you will save the file

image-20241008-154604.pngImage Removedimage-20241008-154656.pngImage Added