Changes between Version 2 and Version 3 of Realisations/2010-2011/Projet/Documentation/SSH


Ignore:
Timestamp:
May 19, 2011, 9:37:30 PM (14 years ago)
Author:
teste
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Realisations/2010-2011/Projet/Documentation/SSH

    v2 v3  
    3232Le tunnel se fait entre '''sphinx''' et la machine '''cible''', en passant par '''gate-net'''.
    3333
    34 Après s'être connecté en SSH sur '''sphinx''' ''(ssh utilisateur@sphinx.lip6.fr)'':
     34Après s'être connecté en SSH sur '''sphinx''' ''(ssh !utilisateur@sphinx.lip6.fr)'':
    3535{{{
    3636ssh -N -f utilisateur@gate-net.rsr.lip6.fr -L 1900:@cible:443 -L 1901:@cible:5900
     
    4343netstat -an | grep -i LISTEN
    4444}}}
    45 
     45Par exemple:
     46{{{
     47-bash-2.05b$ netstat -an | grep -i LISTEN
     48tcp        0      0  127.0.0.1.5900         *.*                    LISTEN
     49tcp        0      0  127.0.0.1.1234         *.*                    LISTEN
     50tcp        0      0  127.0.0.1.1987         *.*                    LISTEN
     51tcp        0      0  127.0.0.1.1100         *.*                    LISTEN
     52tcp        0      0  127.0.0.1.5999         *.*                    LISTEN
     53tcp        0      0  *.23                   *.*                    LISTEN
     54tcp        0      0  *.22                   *.*                    LISTEN
     55tcp6       0      0  ::1.5900               *.*                    LISTEN
     56tcp6       0      0  ::1.1234               *.*                    LISTEN
     57tcp6       0      0  ::1.1987               *.*                    LISTEN
     58tcp6       0      0  ::1.1100               *.*                    LISTEN
     59tcp6       0      0  ::1.5999               *.*                    LISTEN
     60tcp6       0      0  *.23                   *.*                    LISTEN
     61tcp6       0      0  *.22                   *.*                    LISTEN
     62}}}
     63On voit que sphinx écoute tout ce qui est SSH ou telnet. Le reste des ports en écoute sont probablement des tunnels SSH.
    4664
    4765== Tunnel entre la maison et sphinx ==