"yunohost user ssh allow" missing / absent

Hardware: old laptop
YunoHost version: 4.2.4
I have access to my server : Through SSH & the webadmin
Are you in a special context : no

Description of my issue :uk:

The Admin Guide explains that it is possible to grant SSH access to a user by using the command yunohost user ssh allow.

This command seems to have been removed from recent YNH installations… It isn’t in the manpage, not the integrated --help. And I can’t find it either in the source.


Description du problème :fr:

Le guide d’administration indique qu’il est possible de donner un accès SSH à un utilisateur avec la commande yunohost user ssh allow.

Mais en fait, j’ai l’impression que cette commande a été retirée dans les versions récentes de YNH.

c.f. “Notes for advanced users” in 4.2 release, the command was removed

SSH access is now managed as a regular yunohost permissions in Users > Manage permissions and groups

Merci @Aleks,

J’avais continué à chercher et j’étais justement en train d’écrire :

data_migrations/0020_ssh_sftp_permissions.py ait créé les permissions ssh.main et sftp.main… Mais je ne comprends pas s’il faut simplement les attribuer à un user pour qu’il puisse se connecter :thinking:

OK, je creuse de ce côté là :mag:

:uk: Summary of the CLI commands
:fr: Résumé des commandes en ligne

yunohost user permission list
yunohost user permission add ssh.main <user>
yunohost user permission remove ssh.main <user>

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.