I followed the tutorial[1], but when I try and ssh to my server, I get a "Connection Refused" error.
I have tried changing the port in /etc/defaults/dropbear and allowing that port in ufw (22 is disabled). But nmap shows that at boot the new port is closed. In fact, all ports seem closed.
How can I make sure that a port is open so I can unlock the LUKS container?
Posts: 1,046
Thanks: 4
Thanked 34 Times in 32 Posts
when you can ping it, it means the networking is up so the altered initrd works.... as for the port, no idea...
Setup an encrypted Squeeze in a vm, run the script and try if you can remotely unlock it - well, you can.... so you have something configured somewhere that prevents that. I can't help you with that.
__________________
"Common sense is not as common as commonly believed" by sjau
Recent comments
16 hours 17 min ago
21 hours 21 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 17 hours ago
1 day 17 hours ago
1 day 22 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 7 hours ago