1
23.7 Legacy Series / Acme Client sftp upload via jump host
« on: December 04, 2023, 04:50:33 pm »
Hi,
I'm trying to make a acme-client automation that sftp's a cert to a ubuntu box via a jump host.
sftp works on the command line like so:
I've configured ssh in /var/etc/acme-client/sftp-config/config and it seems to pickup my config, but I get a connection refused in the web ui like so:
My ssh config looks like this:
To me it seems that the web-ui is running as some user that isn't root.
Any hints would be much appriciated!
I'm trying to make a acme-client automation that sftp's a cert to a ubuntu box via a jump host.
sftp works on the command line like so:
Code: [Select]
sudo -u root sftp -F /var/etc/acme-client/sftp-config/config user@host.behind.jump.host
I've configured ssh in /var/etc/acme-client/sftp-config/config and it seems to pickup my config, but I get a connection refused in the web ui like so:
Code: [Select]
Failed to connect to host.
{ "actions": [ "connecting" ], "success": false, "connection_closed": true, "error": "Connection closed.", "connect_failed": true }
My ssh config looks like this:
Code: [Select]
Host jump.host
User user
Port 22
HostName <ip>
HostKeyAlias jump.host
IdentitiesOnly yes
IdentityFile /var/etc/acme-client/sftp-config/id.ed25519
PasswordAuthentication no
Host host.behind.jump.host
User user
Port 22
HostName <private-ip>
ProxyJump jump.host
IdentityFile /var/etc/acme-client/sftp-config/id.ed25519
To me it seems that the web-ui is running as some user that isn't root.
Any hints would be much appriciated!