Non-SSH-Certs Use Cases

An initial study only showed the use cases below where SSH-Certs really cannot be used. For each of these an alternative or workaround is given.

If you have another use case where you cannot use SSH-Certs, please consult with helpdesk to see what can be done and to add it here.

  • kmk/certagent is not available for (Android and iOS) tablets and smartphones

    • consequently SSH-Certs cannot be created / used on those platforms
    • using SSH from those devices can be done by using the departmental VPN and then SSH to an internal machine with SSH key (preferred) or password (deprecated)
  • SSHFS-Win - SSHFS for Windows does not support SSH-Certs

    • SSHFS-Win uses a very limited implementation of SSH for its connections - one that does not work with ssh-agents and thus neither with SSH-Certs
    • there are 2 options to use SSHFS-Win from outside departmental networks:
      • either (preferred) use the departmental VPN and then connect to an internal machine
      • or (if you are adventurous ;-) use the built-in openSSH of Windows to create a tunnel and use that tunnel in your SSHFS-Win as described on the above github page - the built-in openSSH does work with SSH-Certs - so instead of \\sshfs\you@machine.cs.kuleuven.be use:
        • ssh -L 12345:machine.cs.kuleuven.be:22 ssh.cs.kuleuven.be
        • \\sshfs\you@localhost!12345
    • both options first setup a safe way to connect to the department which is then used by SSHFS-Win to connect to the machine with your files

Why not (plain) SSH-Keys

(plain) SSH keys are not supported on the public departmental SSH servers because of the following reasons:

  • private keys, especially the ones without a passphrase, (can) allow indiscriminate access
  • private key exposure is an existing threat - they have been found in public GitHub repo's
  • key algorithm, length and strength are important - using old keys is a risk

(KU Leuven) SSH-Certs mitigate these risks because they are only valid for a limited time, are never stored on disk and are generated using modern (enough) details.