wiki.ifm.liu.se

Documenting the world as we know IT

User Tools

Site Tools


mml:pdc-ssh

PDC clusters use Kerberos system for authentification which means you need to tweak your ssh client configuration a little.

General information is avaliable on PDC's "How to login" webpage

Unix-based operating systems

Here's the relevant part of ~/.ssh/config (replace “username” with your username):

config
Host *.kth.se *.kth.se.
    GSSAPIAuthentication yes
    GSSAPIKeyExchange yes
 
Host *.csc.kth.se *.csc.kth.se. *.nada.kth.se *.nada.kth.se. *.pdc.kth.se *.pdc.kth.se.
    GSSAPIDelegateCredentials yes
 
Host lindgren
    User username
    Hostname lindgren.pdc.kth.se
    GSSAPIKeyExchange yes
 
Host lindgrenfs
    User username 
    Hostname cfs-aux-4.pdc.kth.se

Provided that you have kerberos installed in your system, you can then get authenticated using following command and your password:

  kinit -f -l 700h username@NADA.KTH.SE

This command grants you access to any PDC cluster for the following 700 hours (that's roughly one february). You can login to PDC cluster via ssh:

  ssh username@lindgren.pdc.kth.se

For convenience, it might useful to define similar aliases in your .bashrc:

  alias lin='ssh username@lindgren.pdc.kth.se'
  alias lin-auth='kinit -f -l 700h username@NADA.KTH.SE && lin'
  

More information avaliable on PDC's website

mml/pdc-ssh.txt · Last modified: 2013-01-25 14:02 by igomo