Hi all,
I use the Let's Encrypt contrib to ask for a certificate for an internal SME Server-9.2.
All the configuration for domain names and host names are OK.
On the internal server, I generate the key for the root SSH public key authentication, transfer it to the main gateway SME Server, test the login without password from internal to gateway and all looks OK.
On the internal server, I set the four database entries.
All my SSH port use 3333 as the port number.
I run the dehydrated -c command and received:
...
+ Requesting challenge for www.toto.org
ssh: connect to host micronator.org port 22: Connection refused
lost connection
Failed to deploy challenge !
On the internal server:
# config show sshd
sshd=service
AutoBlock=disabled
AutoBlockTime=900
AutoBlockTries=4
LoginGraceTime=600
MaxAuthTries=2
MotdStatus=enabled
PasswordAuthentication=yes
PermitRootLogin=yes
Protocol=2
TCPPort=3333
UsePAM=yes
access=public
status=enabled
#
On the gateway server:
# config show sshd
sshd=service
AutoBlock=disabled
AutoBlockTime=900
AutoBlockTries=4
LoginGraceTime=600
MaxAuthTries=2
MotdStatus=enabled
PasswordAuthentication=yes
PermitRootLogin=yes
Protocol=2
TCPPort=3333
UsePAM=yes
access=private
status=enabled
#
Is there a way to specify the port for the dehydrated command?
Thank you all,
Michel-André