je désinstalle iptables et openssh
je réinstalle openssh
je désactive le firewall de la box
j'active l'accès à distance de la box
alain@debian:~$ nmap -A XX.XX.XXX.XX
Starting Nmap 6.47 ( http://nmap.org ) at 2017-04-18 15:40 CEST
Nmap scan report for XX-XX-XXX-XX.hfc.dyn.abo.bbox.fr (XX.XX.XXX.XX)
Host is up (0.18s latency).
Not shown: 997 closed ports
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 6.7p1 Debian 5+deb8u3 (protocol 2.0)
|_ssh-hostkey: ERROR: Script execution failed (use -d to debug)
53/tcp open tcpwrapped
443/tcp open ssl/http lighttpd
|_http-methods: No Allow or Public header in OPTIONS response (status code 307)
| http-title: Bbox - connexion
|_Requested resource was /login.html
| ssl-cert: Subject: commonName=Bbox/organizationName=Bouygues Telecom/stateOrProvinceName=France/countryName=FR
| Not valid before: 2013-05-27T07:50:31+00:00
|_Not valid after: 2023-05-25T07:50:31+00:00
|_ssl-date: 2017-04-18T13:42:44+00:00; -1s from local time.
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 118.22 seconds
alain@debian:~$
alain@debian:~$ nmap -A 192.168.1.38
Starting Nmap 6.47 ( http://nmap.org ) at 2017-04-18 15:51 CEST
Nmap scan report for Alain-PC (192.168.1.38)
Host is up (0.00020s latency).
Not shown: 993 closed ports
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 6.7p1 Debian 5+deb8u3 (protocol 2.0)
|_ssh-hostkey: ERROR: Script execution failed (use -d to debug)
80/tcp open http Apache httpd 2.4.10 ((Debian))
|_http-title: Apache2 Debian Default Page: It works
111/tcp open rpcbind 2-4 (RPC #100000)
| rpcinfo:
| program version port/proto service
| 100000 2,3,4 111/tcp rpcbind
| 100000 2,3,4 111/udp rpcbind
| 100024 1 39032/tcp status
|_ 100024 1 51172/udp status
139/tcp open netbios-ssn Samba smbd 3.X (workgroup: DEBIAN)
445/tcp open netbios-ssn Samba smbd 3.X (workgroup: DEBIAN)
631/tcp open ipp CUPS 1.7
|_http-methods: No Allow or Public header in OPTIONS response (status code 400)
|_http-title: Bad Request - CUPS v1.7.5
5900/tcp open vnc VNC (protocol 3.7)
| vnc-info:
| Protocol version: 3.7
| Security types:
|_ TLS (18)
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Host script results:
|_nbstat: NetBIOS name: DEBIAN, NetBIOS user: <unknown>, NetBIOS MAC: <unknown> (unknown)
| smb-os-discovery:
| OS: Windows 6.1 (Samba 4.2.14-Debian)
| Computer name: debian
| NetBIOS computer name: DEBIAN
| Domain name:
| FQDN: debian
|_ System time: 2017-04-18T15:51:32+02:00
| smb-security-mode:
| Account that was used for smb scripts: guest
| User-level authentication
| SMB Security: Challenge/response passwords supported
|_ Message signing disabled (dangerous, but default)
|_smbv2-enabled: Server supports SMBv2 protocol
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 11.38 seconds
alain@debian:~$
j'ai accès en local et en distant à mon serveur ssh mais pas mon collègue .
d'où vient l'erreur ?
un coup de main ?