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édente | ||
| logiciel:internet:tmate:start [2021/02/17 10:23] – ↷ Page déplacée de fr:logiciel:internet:tmate:start à logiciel:internet:tmate:start admin | logiciel:internet:tmate:start [2022/08/13 21:57] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| 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 | + | ===== Utilisation ===== |
| - | | + | <WRAP list-deep> |
| - | ...@...:~$ ./tmate | + | |
| - | Tip: if you wish to use tmate only for remote access, run: tmate -F [0/0] | + | pi@framboise4:~/ |
| To see the following messages again, run in a tmate session: tmate show-messages | To see the following messages again, run in a tmate session: tmate show-messages | ||
| Press <q> or < | Press <q> or < | ||
| Ligne 49: | Ligne 53: | ||
| Connecting to ssh.tmate.io... | Connecting to ssh.tmate.io... | ||
| Note: clear your terminal before sharing readonly access | Note: clear your terminal before sharing readonly access | ||
| - | web session read only: https:// | + | web session read only: https:// |
| - | ssh session read only: ssh ro-FaxVqnU4sEBhWxfaRMzeuPwaR@lon1.tmate.io | + | ssh session read only: ssh ro-YYYYYYYYYYYYYYYYYYYYYYYYY@lon1.tmate.io |
| - | web session: https:// | + | web session: https:// |
| - | ssh session: ssh WsDGfJe76TnpyLqxwe9eyRwQ3@lon1.tmate.io | + | ssh session: ssh TTTTTTTTTTTTTTTTTTTTTTTTT@lon1.tmate.io |
| Ligne 66: | Ligne 70: | ||
| - | [tmate] ssh session: ssh WsDGfJe76TnpyLqxwe9eyRwQ3@lon1.tmate.io</ | + | [0] 0:[tmux]* " |
| - | </ | + | |
| - | - Ce terminal peut partager (par défaut) votre session sur **tmate.io** via des adresses secrètes.\\ Pour connaître les infos pour se connecter depuis le web, lancez dans votre session tmate :<cli prompt=' | + | Il y a donc 4 façons de se connecter à la machine : |
| - | Sat Oct 24 12:07:34 2020 [tmate] Connecting to ssh.tmate.io... | + | |
| - | Sat Oct 24 12:07:34 2020 [tmate] Note: clear your terminal before sharing readonly access | + | |
| - | Sat Oct 24 12:07:34 2020 [tmate] web session read only: https:// | + | |
| - | Sat Oct 24 12:07:34 2020 [tmate] ssh session read only: ssh ro-XXXXXXXXXXXXXXXXXXXXXXXXX@lon1.tmate.io | + | - via le web : |
| - | Sat Oct 24 12:07:34 2020 [tmate] web session: https:// | + | |
| - | Sat Oct 24 12:07:34 2020 [tmate] ssh session: ssh XXXXXXXXXXXXXXXXXXXXXXXXX@lon1.tmate.io</cli><cli> | + | |
| - | $ ./tmate show-messages | + | </ |
| - | Mon Dec 4 20:04:37 2017 [tmate] Connecting to ssh.tmate.io... | + | |
| - | Mon Dec 4 20:04:37 2017 [tmate] Note: clear your terminal before sharing readonly access | + | |
| - | Mon Dec 4 20:04:37 2017 [tmate] web session read only: https:// | + | |
| - | Mon Dec 4 20:04:37 2017 [tmate] ssh session read only: ssh ro-XXXXXXXXXXXXXXXXXXXXXXXXX@ln2.tmate.io | + | |
| - | Mon Dec 4 20:04:37 2017 [tmate] web session: https:// | + | |
| - | Mon Dec 4 20:04:37 2017 [tmate] ssh session: ssh XXXXXXXXXXXXXXXXXXXXXXXXX@ln2.tmate.io | + | |
| - | </ | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | $ ssh ro-XXXXXXXXXXXXXXXXXXXXXXXXX@ln2.tmate.io | + | |
| - | </ | + | |
| - | * via le web: | + | |
| - | | + | |
| - | | + | |
| - | transmettre | + | Transmettre |
| - | ====== 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:// |