We had to disable password login to our telin.ugent.be server due to malicious internet attacks.
telin.ugent.be now works with ssh-keys only: here’s how you can setup a ssh key pair from within our TELIN department only.
First check if you have the following open source programs installed: Git Bash, PuTTY, PuTTYgen and WinSCP (and any text editor like Notepad++).
ssh-keygen -b 4096 -t rsa -N '' -f ~/.ssh/id_rsain the Git Bash Here window.
ssh-copy-id <your_username>@<workgroup_fileserver>. Replace
<your_username>with your TELIN username and
<workgroup_fileserver>with your TELIN workgroup server e.g. ddcmfs, digcomfs, gaimfs, ipifs, smacsfs or packages.
Your PC should now recognized by the TELIN server. You can try with
ssh <your_username>@telin.ugent.be and after accepting the connection with yes you should be logged in. Exit with the
PuTTY and WinSCP use some different version of the key, they call is PPK.
You should be able to login with the Login button now. The left panel is showing your local disk and the right panel is showing your home directory. You can copy by selecting any file or directory and select the F5 Copy button on the bottom menus.
The save session will then also be available in PuTTY under WinSCP temporary session, which you can Load, rename to telin.ugent.be and Save it again.
If you want to do it manually, type the hostname telin.ugent.be, select the telin.ppk file you used as private key in Private key file for authentication: with Browse and save the session for later by not logging in yet, but select Session and giving it a name telin.ugent.be first.
You can mail the telin.ppk file to yourself for later use, it’s a plain text file!
The key on the server is stored in .ssh/authorized_keys, it’s again a text file and you can add or delete keys manually.