I am trying to make my lubuntu 12.10 box accessible from my phone.
sshd is run with inetd (openbsd-inetd 0.20091229-2ubuntu2) and uses tcpwrappers:
I have enabled my domain while on mobile data:
ssh stream tcp nowait root /usr/bin/tcpd sshd -i
sshd: 192.168.178., .xs4all.nl, .kpn-gprs.nl
This does not let me in, I think because reverse DNS might not be set up by my provider.
sshd and inetd have been restarted, but I still can't get in:
echo 'UseDns no' >> /etc/ssh/sshd_config
If I add the exact IP address of my mobile connection to hosts.allow I am able to connect. Connecting via the local network (192.168.178.x) also works.
Nov 22 14:27:55 possum sshd: warning: /etc/hosts.allow, line 14: can't verify hostname: getaddrinfo(host-62-133-64-14.kpn-gprs.nl, AF_INET) failed
Nov 22 14:27:55 possum sshd: refused connect from 18.104.22.168 (22.214.171.124)
(And I just realise for the next step I need to import the keys to my phone, as password authentication has been disabled)