You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Matt said, Caddyfile isn't currently supported nor do I see it in the near future. It may be a second- or third- priority item. If I'm supporting an a config format, I'm starting with an adapter for OpenSSH config to ease migration.
I'll keep this open as a feature request!
PS.: Can I use this module to "proxy" SSH connections? pc -> git.domain.tld:22 -> ip:2222
Yes! You need to enable/allow reverseforward. The default is to deny forwards completely. I foresee more custom modules for an allow/deny based on upstream address or port. https://caddyserver.com/docs/json/apps/ssh/servers/
I have grown very confortable with Caddyfiles and I quite like the syntax. But I have yet to really learn the JSON-side of things...
As for usage? Well I use my server as a frontend for my homeserver, which are linked via a SoftEther VPN. So it'd be neat to do ssh home.domain to access this computer specifically, whilst just going ssh domain to access the main one. There might be more devices to be added more later down the line, but basically what I would like to do :)
As great as the JSON config is, I find it far less readable than the Caddyfile format - but this is very much a personal opinion, obviously :)
Would you consider providing examples in both JSON and Caddyfile? Thanks!
PS.: Can I use this module to "proxy" SSH connections?
pc -> git.domain.tld:22 -> ip:2222
The text was updated successfully, but these errors were encountered: