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:
Code:
ssh stream tcp nowait root /usr/bin/tcpd sshd -i
I have enabled my domain while on mobile data:
Code:
sshd: 192.168.178., .xs4all.nl, .kpn-gprs.nl
(hosts.allow)
This does not let me in, I think because reverse DNS might not be set up by my provider.
So:
Code:
echo 'UseDns no' >> /etc/ssh/sshd_config
sshd and inetd have been restarted, but I still can't get in:
Code:
Nov 22 14:27:55 possum sshd[8839]: 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[8839]: refused connect from 62.133.64.14 (62.133.64.14)
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.
Any ideas?
(And I just realise for the next step I need to import the keys to my phone, as password authentication has been disabled)
Bookmarks