[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh no conecta (Bullseye en ambos equipos)





El 17/5/21 a las 15:16, OddieX escribió:
El lun, 17 may 2021 a las 15:04, Walter Omar Dari
(<wlinuxw@gmail.com>) escribió:

Hola...

El 17/5/21 a las 12:51, OddieX escribió:


El lun., 17 de mayo de 2021 12:48, Walter Omar Dari <wlinuxw@gmail.com
<mailto:wlinuxw@gmail.com>> escribió:

     Hola, lo que me faltaba probar...

     El 16/5/21 a las 03:52, Camaleón escribió:
      > El 2021-05-15 a las 19:56 -0300, Walter Omar Dari escribió:
      >
      > [...]
      >
      >
      > Si tienes otro equipo desde donde probar (p. j., otro sistema
     operativo
      > como Windows con Putty o MacOS), intenta a ver, no vaya a ser que la
      > guerra te la esté dando el cliente desde donde conectas.

     Con Putty tampoco se conecta al equipo en cuestión, a los demás no hay
     problemas.


      >
      > Saludos,
      >

     --




     Fijate en login.Defs q no encuentra iptables pq desde buster en
     adelante cambiaron los env path... Sino whereis iptables y ejecutalo
     con path completo...


Funcionó indicando la ruta completa, aquí va la salida, yo no veo
inconvenientes, pero no estoy muy ducho con estos (disculpas porque es
bastante larga)...


Chain INPUT (policy DROP)
target     prot opt source               destination
ufw-before-logging-input  all  --  anywhere             anywhere
ufw-before-input  all  --  anywhere             anywhere
ufw-after-input  all  --  anywhere             anywhere
ufw-after-logging-input  all  --  anywhere             anywhere
ufw-reject-input  all  --  anywhere             anywhere
ufw-track-input  all  --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination
ufw-before-logging-forward  all  --  anywhere             anywhere

ufw-before-forward  all  --  anywhere             anywhere
ufw-after-forward  all  --  anywhere             anywhere
ufw-after-logging-forward  all  --  anywhere             anywhere

ufw-reject-forward  all  --  anywhere             anywhere
ufw-track-forward  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ufw-before-logging-output  all  --  anywhere             anywhere

ufw-before-output  all  --  anywhere             anywhere
ufw-after-output  all  --  anywhere             anywhere
ufw-after-logging-output  all  --  anywhere             anywhere
ufw-reject-output  all  --  anywhere             anywhere
ufw-track-output  all  --  anywhere             anywhere

Chain ufw-after-forward (1 references)
target     prot opt source               destination

Chain ufw-after-input (1 references)
target     prot opt source               destination
ufw-skip-to-policy-input  udp  --  anywhere             anywhere
       udp dpt:netbios-ns
ufw-skip-to-policy-input  udp  --  anywhere             anywhere
       udp dpt:netbios-dgm
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere
       tcp dpt:netbios-ssn
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere
       tcp dpt:microsoft-ds
ufw-skip-to-policy-input  udp  --  anywhere             anywhere
       udp dpt:bootps
ufw-skip-to-policy-input  udp  --  anywhere             anywhere
       udp dpt:bootpc
ufw-skip-to-policy-input  all  --  anywhere             anywhere
       ADDRTYPE match dst-type BROADCAST

Chain ufw-after-logging-forward (1 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere             limit: avg
3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-after-logging-input (1 references)
target     prot opt source               destination

Chain ufw-after-logging-output (1 references)
target     prot opt source               destination

Chain ufw-after-output (1 references)
target     prot opt source               destination

Chain ufw-before-forward (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere             ctstate
RELATED,ESTABLISHED
ACCEPT     icmp --  anywhere             anywhere             icmp
destination-unreachable
ACCEPT     icmp --  anywhere             anywhere             icmp
time-exceeded
ACCEPT     icmp --  anywhere             anywhere             icmp
parameter-problem
ACCEPT     icmp --  anywhere             anywhere             icmp
echo-request
ufw-user-forward  all  --  anywhere             anywhere

Chain ufw-before-input (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere             ctstate
RELATED,ESTABLISHED
ufw-logging-deny  all  --  anywhere             anywhere
ctstate INVALID
DROP       all  --  anywhere             anywhere             ctstate
INVALID
ACCEPT     icmp --  anywhere             anywhere             icmp
destination-unreachable
ACCEPT     icmp --  anywhere             anywhere             icmp
time-exceeded
ACCEPT     icmp --  anywhere             anywhere             icmp
parameter-problem
ACCEPT     icmp --  anywhere             anywhere             icmp
echo-request
ACCEPT     udp  --  anywhere             anywhere             udp
spt:bootps dpt:bootpc
ufw-not-local  all  --  anywhere             anywhere
ACCEPT     udp  --  anywhere             224.0.0.251          udp dpt:mdns
ACCEPT     udp  --  anywhere             239.255.255.250      udp dpt:1900
ufw-user-input  all  --  anywhere             anywhere

Chain ufw-before-logging-forward (1 references)
target     prot opt source               destination

Chain ufw-before-logging-input (1 references)
target     prot opt source               destination

Chain ufw-before-logging-output (1 references)
target     prot opt source               destination

Chain ufw-before-output (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere             ctstate
RELATED,ESTABLISHED
ufw-user-output  all  --  anywhere             anywhere

Chain ufw-logging-allow (0 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere             limit: avg
3/min burst 10 LOG level warning prefix "[UFW ALLOW] "

Chain ufw-logging-deny (2 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere             ctstate
INVALID limit: avg 3/min burst 10
LOG        all  --  anywhere             anywhere             limit: avg
3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-not-local (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere             ADDRTYPE
match dst-type LOCAL
RETURN     all  --  anywhere             anywhere             ADDRTYPE
match dst-type MULTICAST
RETURN     all  --  anywhere             anywhere             ADDRTYPE
match dst-type BROADCAST
ufw-logging-deny  all  --  anywhere             anywhere
limit: avg 3/min burst 10
DROP       all  --  anywhere             anywhere

Chain ufw-reject-forward (1 references)
target     prot opt source               destination

Chain ufw-reject-input (1 references)
target     prot opt source               destination

Chain ufw-reject-output (1 references)
target     prot opt source               destination

Chain ufw-skip-to-policy-forward (0 references)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere

Chain ufw-skip-to-policy-input (7 references)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere

Chain ufw-skip-to-policy-output (0 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain ufw-track-forward (1 references)
target     prot opt source               destination

Chain ufw-track-input (1 references)
target     prot opt source               destination

Chain ufw-track-output (1 references)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere             ctstate NEW
ACCEPT     udp  --  anywhere             anywhere             ctstate NEW

Chain ufw-user-forward (1 references)
target     prot opt source               destination

Chain ufw-user-input (1 references)
target     prot opt source               destination
DROP       all  --  www.afip.gob.ar      anywhere
DROP       all  --  184.107.150.82       anywhere
DROP       all  --  108.162.238.149      anywhere
DROP       all  --  crawl-66-249-65-156.googlebot.com  anywhere
DROP       all  --  162.158.126.82       anywhere
DROP       all  --  108.162.237.28       anywhere
DROP       all  --  ns546279.ip-158-69-251.net  anywhere
DROP       all  --  crawl-66-249-64-208.googlebot.com  anywhere
DROP       all  --  162.158.89.241       anywhere
DROP       all  --  162.158.88.44        anywhere
DROP       all  --  5-255-250-18.spider.yandex.com  anywhere
DROP       all  --  crawl-54-236-1-15.pinterest.com  anywhere
DROP       all  --  141.101.105.132      anywhere
DROP       all  --  68.180.229.166       anywhere
DROP       all  --  crawl-54-236-1-12.pinterest.com  anywhere
DROP       all  --  146.185.223.82       anywhere
DROP       all  --  108.162.238.11       anywhere
DROP       all  --  srv2.awar.io         anywhere
DROP       all  --  crawl-54-236-1-14.pinterest.com  anywhere
DROP       all  --  212.77.40.171        anywhere
DROP       all  --  r-199-16-157-183.twttr.com  anywhere
DROP       all  --  srv1.awar.io         anywhere
DROP       all  --  r-199-16-157-180.twttr.com  anywhere
DROP       all  --  69.50.139.232        anywhere
DROP       all  --  172.68.215.178       anywhere
DROP       all  --  r-199-16-157-181.twttr.com  anywhere
DROP       all  --  ec2-54-162-152-232.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-54-157-81-13.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-54-162-154-91.compute-1.amazonaws.com  anywhere

DROP       all  --  8.29.198.25          anywhere
DROP       all  --  172.68.215.199       anywhere
DROP       all  --  141-8-144-35.spider.yandex.com  anywhere
DROP       all  --  ec2-54-172-254-178.compute-1.amazonaws.com  anywhere

DROP       all  --  crawl-66-249-64-205.googlebot.com  anywhere
DROP       all  --  static.180.43.251.148.clients.your-server.de
anywhere
DROP       all  --  baiduspider-180-76-15-153.crawl.baidu.com  anywhere

DROP       all  --  ec2-52-23-202-35.compute-1.amazonaws.com  anywhere

DROP       all  --  baiduspider-180-76-15-163.crawl.baidu.com  anywhere

DROP       all  --  ec2-54-173-157-254.compute-1.amazonaws.com  anywhere

DROP       all  --  94-210-80-88.cable.dynamic.v4.ziggo.nl  anywhere

DROP       all  --  ec2-34-205-147-105.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-54-152-50-104.compute-1.amazonaws.com  anywhere

DROP       all  --  172.68.215.200       anywhere
DROP       all  --  baiduspider-180-76-15-31.crawl.baidu.com  anywhere

DROP       all  --  baiduspider-180-76-15-151.crawl.baidu.com  anywhere

DROP       all  --  msnbot-157-55-39-181.search.msn.com  anywhere

DROP       all  --  baiduspider-180-76-15-155.crawl.baidu.com  anywhere

DROP       all  --  r-199-16-157-182.twttr.com  anywhere
DROP       all  --  6.217.211.130.bc.googleusercontent.com  anywhere

DROP       all  --  ec2-52-39-19-134.us-west-2.compute.amazonaws.com
anywhere
DROP       all  --  ec2-54-91-102-232.compute-1.amazonaws.com  anywhere

DROP       all  --  188.165.214.26       anywhere
DROP       all  --  8.29.198.26          anywhere
DROP       all  --  108.162.238.5        anywhere
DROP       all  --  ec2-107-21-132-71.compute-1.amazonaws.com  anywhere

DROP       all  --  crawl-mwx5un.mj12bot.com  anywhere
DROP       all  --  msnbot-207-46-13-37.search.msn.com  anywhere
DROP       all  --  ec2-107-23-244-1.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-54-87-188-6.compute-1.amazonaws.com  anywhere

DROP       all  --  free.example.com     anywhere
DROP       all  --  162.158.79.41        anywhere
DROP       all  --  62-210-215-110.poneytelecom.eu  anywhere
DROP       all  --  185.129.148.167      anywhere
DROP       all  --  ec2-34-207-115-116.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-52-23-176-219.compute-1.amazonaws.com  anywhere

DROP       all  --  5.79.86.129          anywhere
DROP       all  --  ec2-34-230-1-142.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-34-207-245-116.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-54-84-106-11.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-54-197-18-148.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-54-236-26-155.compute-1.amazonaws.com  anywhere

DROP       all  --  108.162.237.88       anywhere
DROP       all  --  ec2-34-201-128-31.compute-1.amazonaws.com  anywhere

DROP       all  --  108.162.238.35       anywhere
DROP       all  --  ec2-34-207-100-76.compute-1.amazonaws.com  anywhere

DROP       all  --  69.58.178.56         anywhere
DROP       all  --  ec2-52-90-29-88.compute-1.amazonaws.com  anywhere

DROP       all  --  msnbot-157-55-39-123.search.msn.com  anywhere

DROP       all  --  ec2-54-158-49-66.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-52-4-105-228.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-34-230-31-144.compute-1.amazonaws.com  anywhere

DROP       all  --  141.101.76.52        anywhere
DROP       all  --  ec2-54-224-176-10.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-54-173-220-126.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-34-203-193-13.compute-1.amazonaws.com  anywhere

DROP       all  --  crawl-66-249-65-148.googlebot.com  anywhere
DROP       all  --  ec2-54-173-7-55.compute-1.amazonaws.com  anywhere

DROP       all  --  59.51.151.229        anywhere
DROP       all  --  hydrogen095.a.ahrefs.com  anywhere
DROP       all  --  ec2-52-16-32-106.eu-west-1.compute.amazonaws.com
anywhere
DROP       all  --  hydrogen319.a.ahrefs.com  anywhere
DROP       all  --  ec2-54-91-194-170.compute-1.amazonaws.com  anywhere

DROP       all  --  cityindy.com         anywhere
DROP       all  --  ec2-34-229-236-36.compute-1.amazonaws.com  anywhere

DROP       all  --  ec2-54-91-57-156.compute-1.amazonaws.com  anywhere

DROP       all  --  141.101.105.204      anywhere
DROP       all  --  ec2-34-232-70-47.compute-1.amazonaws.com  anywhere

DROP       all  --  fulltextrobot-77-75-78-167.seznam.cz  anywhere

DROP       all  --  msnbot-207-46-13-14.search.msn.com  anywhere

Chain ufw-user-limit (0 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere             limit: avg
3/min burst 5 LOG level warning prefix "[UFW LIMIT BLOCK] "
REJECT     all  --  anywhere             anywhere
reject-with icmp-port-unreachable

Chain ufw-user-limit-accept (0 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain ufw-user-logging-forward (0 references)
target     prot opt source               destination

Chain ufw-user-logging-input (0 references)
target     prot opt source               destination

Chain ufw-user-logging-output (0 references)
target     prot opt source               destination

Chain ufw-user-output (1 references)
target     prot opt source               destination




--

Walter O. Dari

http://swcomputacion.com/
http://swcomputacion.com/sistemas/
https://facebook.com/swcomputacion/
https://facebook.com/sistemasSW/

Nuestros horarios:
L a V 8 a 13 hs.
S 11 a 14 hs.

WhatsApp:
2396 577140 (no se atienden llamadas)


Evidentemente tenes el ufw configurado, y tenes todo bloqueado...

Debe haber cambiado con la actualización a bullseye, porque inmediatamente antes funcionaba el ssh. Lo uso muy seguido en los equipos de la red local para hacer las actualizaciones desde mi PC y estaba funcionando sin problemas.

Fijate baja el ufw y proba... Tambvien investiga como abrir esos puertos!

Ok, voy a probar, gracias !


Saludos


--

Walter O. Dari

http://swcomputacion.com/
http://swcomputacion.com/sistemas/
https://facebook.com/swcomputacion/
https://facebook.com/sistemasSW/

Nuestros horarios:
L a V 8 a 13 hs.
S 11 a 14 hs.

WhatsApp:
2396 577140 (no se atienden llamadas)


Reply to: