Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
fr:logiciel:internet:tmate:start [2021/02/15 16:06] – ↷ Liens modifiés en raison d'un déplacement. admin | logiciel:internet:tmate:start [2022/05/16 16:50] – [Utilisation] admin | ||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
====== Tmate - partager un terminal entre machines sous Linux ====== | ====== Tmate - partager un terminal entre machines sous Linux ====== | ||
- | ====== Introduction | + | ===== Introduction ===== |
- | Contrairement à **SSH**, **Tmate** ne nécessite pas de connaissance particulière pour partager | + | Fork de **tmux**, **tmate** permet |
- | **Tmate** est un fork de **tmux**. | + | Contrairement à **SSH**, **tmate** ne nécessite pas de connaissance particulière pour partager une session. |
- | ====== Pré-requis | + | En général tmate suffit pour une démo rapide d’un outil avec un collègue. |
- | ====== Installation ====== | + | ===== Pré-requis ===== |
- | <WRAP center round tip 60%> | + | ===== Installation ===== |
- | Savoir si on est en 32 ou 64 bits :<cli prompt='$ '> | + | |
- | x86_64</ | + | |
- | Sur un Raspberry pi : | + | |
- | ? armv7... | + | |
- | : -> 32 bits | + | |
- | ? arm8... (ou plus) | + | |
- | : -> 64 bits | + | |
+ | <WRAP center round tip 60%> | ||
+ | Savoir si on est en 32 ou 64 bits :<cli prompt=' | ||
+ | x86_64 | ||
+ | </ | ||
+ | Sur un Raspberry pi :<cli prompt=' | ||
+ | armv7l</ | ||
+ | <WRAP list-deep> | ||
+ | - **armv7...** -> 32 bits | ||
+ | - **arm8...** (ou plus) -> 64 bits | ||
</ | </ | ||
- | + | </ | |
- | - Repérez | + | <WRAP list-deep> |
- | | + | - Allez sur la page [[https:// |
- | | + | |
- | | + | - Descendez la page et repérez le lien qui vous correspond : |
- | | + | |
- | - Sur le PC à contrôler, selon votre cas, lancez ((copiez-collez le lien repéré sur la page ci-dessus)): | + | |
- | | + | |
+ | - Sur le PC à contrôler, selon votre cas, lancez (lien repéré sur la page ci-dessus) : | ||
+ | | ||
...@...:~$ tar xJf tmate-*amd64.tar.xz</ | ...@...:~$ tar xJf tmate-*amd64.tar.xz</ | ||
- | | + | |
...@...:~$ tar xJf tmate-*i386.tar.xz</ | ...@...:~$ tar xJf tmate-*i386.tar.xz</ | ||
- | | + | |
- | ...@...:~$ tar -xJf tmate-*arm32v7.tar.xz | + | pi@framboise4:~ $ tar -xJf tmate-2.4.0-static-linux-arm32v7.tar.xz</ |
- | </ | + | </WRAP> |
- | ====== Configuration ====== | + | ===== Configuration ===== |
+ | |||
+ | ===== Utilisation ===== | ||
+ | |||
+ | - Placez-vous dans le répertoire créé par la décompression et lancez tmate :<cli prompt=' | ||
+ | pi@framboise4: | ||
+ | |||
+ | |||
+ | |||
+ | - <cli prompt='$ '> | ||
+ | To see the following messages again, run in a tmate session: tmate show-messages | ||
+ | Press <q> or < | ||
+ | --------------------------------------------------------------------- | ||
+ | Connecting to ssh.tmate.io... | ||
+ | Note: clear your terminal before sharing readonly access | ||
+ | web session read only: https:// | ||
+ | ssh session read only: ssh ro-RB7vLFgC2C4mPZg9PdJ6WLpdz@lon1.tmate.io | ||
+ | web session: https:// | ||
+ | ssh session: ssh sBWNthY6Epjbexd9z4s4Q7ppt@lon1.tmate.io | ||
+ | Error reading from channel: Socket error: Operation timed out | ||
+ | Reconnecting... (Error reading from channel: Socket error: Operation timed out) | ||
+ | Reconnected | ||
+ | </ | ||
- | ====== Utilisation ====== | ||
- | - Placez-vous dans le répertoire créé par la décompression et lancez tmate :<cli prompt=' | + | - <cli prompt=' |
...@...:~$ ./tmate | ...@...:~$ ./tmate | ||
Tip: if you wish to use tmate only for remote access, run: tmate -F [0/0] | Tip: if you wish to use tmate only for remote access, run: tmate -F [0/0] | ||
Ligne 94: | Ligne 119: | ||
transmettre le lien ssh ou web à celui qui doit accéder à cette machine | transmettre le lien ssh ou web à celui qui doit accéder à cette machine | ||
- | ====== Désinstallation | + | ===== Désinstallation ===== |
- | ====== Voir aussi ====== | + | ===== Voir aussi ===== |
* **(en)** [[http://]] | * **(en)** [[http://]] | ||
- | * **(fr)** [[http://]] | + | * **(fr)** [[https://www.metal3d.org/ |
---- | ---- | ||
- | //Basé sur << [[http://|Article]] >> par Auteur.// | + | //Basé sur << [[https:// |