What does an intercept do?

I saw this in the zssh cheat sheet.

intercept is not needed for zscp/zssh but make it for testing if you like

Can you further elaborate? not sure I understand

Thx

intercept.v1 configurations are generally used with tunneling applications like the ziti desktop edge for windows/mac. You MUST have an intercept.v1 or ziti-tunneler-client.v1 defined if you want to use a tunneling app provided by OpenZiti on the ‘client’ side.

This config would allow someone to use “regular” ssh (not zssh) to ssh to the same identity. The problem here though, is if you’re using addressable terminators you’ll need to define a new intercept per endpoint. One of the things missing on that cheatsheet would be the “dialOption” to allow that service to work.

If you tried that right now you’ll find you can’t successfully ssh to the zssh server becasue the intercept is missing , "dialOptions": {"identity":"identityNameHere"}

Probably confusing - but that’s what that’s talking about

1 Like