A force de creuser, je vais trouver du pétrole. Voici en détail ce que j'ai fait.
Depuis "raspi isabelle"
autossh -M 20000 -C -N -f -n -T -R \*:1922:192.168.8.56:22 revssh@sauvegarde -p1957
J'ai vérifié la commande:
ps -ef | grep ssh
root 348 1 0 14:43 ? 00:00:00 /usr/sbin/sshd -D
pi 507 466 0 14:44 ? 00:00:00 /usr/bin/ssh-agent x-session-manager
pi 553 1 0 14:44 ? 00:00:00 /usr/bin/ssh-agent -s
root 848 348 0 14:45 ? 00:00:00 sshd: thierry [priv]
thierry 850 848 0 14:45 ? 00:00:00 sshd: thierry@pts/0
thierry 1211 1 0 17:23 ? 00:00:00 /usr/lib/autossh/autossh -M 20000 -C -N -n -T -R *:1922:192.168.8.56:22 revssh@sauvegarde -p1957
thierry 1240 852 0 17:29 pts/0 00:00:00 grep --color=auto ssh
Puis je suis allé sur "PC isabelle"
nmap -sT -p 1922 192.168.1.57
Starting Nmap 7.80 ( https://nmap.org ) at 2020-02-21 17:30 CET
Nmap scan report for sauvegarde (192.168.1.57)
Host is up (0.00078s latency).
PORT STATE SERVICE
1922/tcp open tapestry
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
Apparemment tout semble bon jusque là. Alors je me suis lancé du PC isabelle
ssh -p 1922 sauvegarde
Linux raspi-thierry 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Feb 21 17:24:27 2020 from 192.168.1.205
isabelle@raspi-thierry:~ $
Raté, je n'ai pas passé le tunnel.
Serait ce du au fait que j'ai ouvert le port 1922 dans sshd_config ?