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 6 months ago

sebastian-luna-valero commented 6 months 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 6 months ago

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

micafer commented 6 months ago

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

sebastian-luna-valero commented 6 months ago

Tested it and it works, many thanks!