mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Add explanations on the yunohost user ssh command [English] (#1137)
This commit is contained in:
parent
d890a0679c
commit
f0671199cb
1 changed files with 19 additions and 1 deletions
20
ssh.md
20
ssh.md
|
@ -58,7 +58,25 @@ ssh -p 2244 admin@your.domain.tld
|
|||
|
||||
By default, only the admin and root users can log in to YunoHost ssh server.
|
||||
|
||||
YunoHost's users created via the administration interface are managed by the LDAP directory. By default, they can't connect via SSH for security reasons. See [here](https://forum.yunohost.org/t/ssh-disconnects-after-successful-login/256/10) if you absolutely want some users to have SSH access enabled.
|
||||
YunoHost's users created via the administration interface are managed by the LDAP directory. By default, they can't connect via SSH for security reasons. If you want some users to have SSH access enabled, use the command:
|
||||
|
||||
```bash
|
||||
yunohost user ssh allow <username>
|
||||
```
|
||||
|
||||
It is also possible to remove ssh access using the following:
|
||||
|
||||
```bash
|
||||
yunohost user ssh disallow <username>
|
||||
```
|
||||
|
||||
Finally, it is possible to add, delete and list ssh keys, to improve ssh access security, using the commands:
|
||||
|
||||
```bash
|
||||
yunohost user ssh add-key <username> <key>
|
||||
yunohost user ssh remove-key <username> <key>
|
||||
yunohost user ssh add-key <username>
|
||||
```
|
||||
|
||||
## Security and SSH
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue