Unfortunately, whenever I try and SSH to the server (over the LAN) at reboot, I get a "Connection refused" error. I have tried
nmap to the default port (22) and both say the port is closed.
The server has a
ufw rule to accept all traffic from the LAN:
Anywhere ALLOW 192.168.1.0/24
I have tried changing the port that dropbear listens on in
telnet are still refused connections1.
How can I ensure that a port is open at that stage in the boot process so that I can connect to unlock the LUKS container?
Disabling the firewall makes no difference:
nmap shows all ports still closed. I can, however, ping the machine.
Update 2 I believe that the issue is that dropbear is not running as the intramfs is not being correctly built.
I have tried the fixes in this open bug report, including a custom hook to ensure that the correct libraries are copied across to the initrd image, but still encounter the same problem.
- The full error, when
ssh -vvvis issued:
OpenSSH_5.9p1, OpenSSL 1.0.1a 19 Apr 2012 debug1: Reading configuration data /home/jason/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 20: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 192.168.1.200 [192.168.1.200] port 2200. debug1: connect to address 192.168.1.200 port 2200: Connection refused ssh: connect to host 192.168.1.200 port 2200: Connection refused