grycap / im-dashboard

IM Dashboard
https://im.egi.eu
Apache License 2.0
6 stars 11 forks source link

Specify what types of SSH key are supported #549

Closed sebastian-luna-valero closed 1 month ago

sebastian-luna-valero commented 1 month ago

Hi,

Public SSH keys are checked when added via IM Dashboard: https://im.egi.eu/im-dashboard/ssh_keys

image

Following:

https://github.com/grycap/im-dashboard/blob/v2.5.6/app/ssh_key.py#L80

It looks like only public SSH keys of type RSA are supported?

If yes, could this be specified as help text in the form to add the SSH key to IM Dashboard?

Thanks to @maikenp for reporting.

Best regards, Sebastian

micafer commented 1 month ago

We will improve the SSH key validation to support another formats.

micafer commented 1 month ago

Support for other formats added. It is available in the devel instance.

sebastian-luna-valero commented 1 month ago

Tested it and it works, many thanks!