This commit is contained in:
ericgaspar 2021-01-14 10:23:59 +01:00
parent 3bb8c7726e
commit ee96d781a9
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 5 additions and 5 deletions

4
ssh.md
View file

@ -4,7 +4,7 @@
**SSH** stands for Secure Shell, and refers to a protocol that allows to remotely control and administrate a machine using the command line interface (CLI). It is available by default in any terminal on GNU/Linux and macOS. On Windows, you may want to use [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (after launching it, click on Session then SSH). **SSH** stands for Secure Shell, and refers to a protocol that allows to remotely control and administrate a machine using the command line interface (CLI). It is available by default in any terminal on GNU/Linux and macOS. On Windows, you may want to use [MobaXterm](https://mobaxterm.mobatek.net/download-home-edition.html) (after launching it, click on Session then SSH).
## What address to use to connect to your server ? ## What address to use to connect to your server?
If you are **installing at home** (e.g. on a Raspberry Pi or OLinuXino or old computer): If you are **installing at home** (e.g. on a Raspberry Pi or OLinuXino or old computer):
- you should be able to connect to your server using `yunohost.local`. - you should be able to connect to your server using `yunohost.local`.
@ -48,7 +48,7 @@ ssh admin@your.domain.tld
ssh admin@yunohost.local ssh admin@yunohost.local
``` ```
If you changed the SSH port, you need to add `-p <portnumber>` to the command, e.g. : If you changed the SSH port, you need to add `-p <portnumber>` to the command, e.g.:
```bash ```bash
ssh -p 2244 admin@your.domain.tld ssh -p 2244 admin@your.domain.tld

View file

@ -28,7 +28,7 @@ Durant la postinstallation, vous avez défini un mot de passe d'administration.
## Se connecter ## Se connecter
Une commande SSH ressemble typiquement à: Une commande SSH ressemble typiquement à :
```bash ```bash
# avant la postinstall: # avant la postinstall:
@ -38,7 +38,7 @@ ssh root@11.22.33.44
ssh admin@11.22.33.44 ssh admin@11.22.33.44
``` ```
Ou bien en utilisant le nom de domaine plutôt que l'IP (plus pratique): Ou bien en utilisant le nom de domaine plutôt que l'IP (plus pratique) :
```bash ```bash
ssh admin@votre.domaine.tld ssh admin@votre.domaine.tld
@ -46,7 +46,7 @@ ssh admin@votre.domaine.tld
ssh admin@yunohost.local ssh admin@yunohost.local
``` ```
Si vous avez changer le port SSH, il faut rajouter l'option `-p <numerodeport>` à la commande, par ex.: Si vous avez changer le port SSH, il faut rajouter l'option `-p <numerodeport>` à la commande, par ex. :
```bash ```bash
ssh -p 2244 admin@votre.domaine.tld ssh -p 2244 admin@votre.domaine.tld