mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Update ssh.md
This commit is contained in:
parent
9ec4eef6b0
commit
edff302437
1 changed files with 19 additions and 1 deletions
20
ssh.md
20
ssh.md
|
@ -5,4 +5,22 @@
|
|||
|
||||
`ssh admin@my-server.org`
|
||||
|
||||
Then, you need to enter your administrator password created at [post-installation step](postinstall).
|
||||
Then, you need to enter your administrator password created at [post-installation step](postinstall).
|
||||
|
||||
##### Connect to a different port than the default port 22
|
||||
Edit the line`Port 22` from file `/etc/ssh/sshd_config` then connect:
|
||||
```bash
|
||||
ssh -p <port> admin@my-server.org
|
||||
```
|
||||
|
||||
##### Which users?
|
||||
Only the admin user can log in to YunoHost ssh server.
|
||||
|
||||
YunoHost's users created via the administration interface are managed by the LDAP directory and can not connect via ssh.
|
||||
|
||||
If you want another admin user to log in via ssh, you must create it from the command line (through the admin user) as any user (with `adduser` command).
|
||||
|
||||
Note: this user will not be usable since yunohost. It will have its own folder `/home`, his own Unix group (see the principles of a Unix user and the various tutorials on the subject in any good documentation on the administration in Debian).
|
||||
|
||||
##### Security and SSH
|
||||
See the dedicated page [Security & SSH](security_en)
|
Loading…
Add table
Reference in a new issue