Quantcast
Channel: User Kamil Maciorowski - Super User
Viewing all articles
Browse latest Browse all 837

Comment by Kamil Maciorowski on Making an ssh ControlPath connection act as slave-or-fail (not fallback to ControlMaster)

$
0
0
The OP's connections use something else instead of (or along with) password and/or public key, so the OP shall disable that, whatever it is (probably keyboard-interactive); but your general idea seems good. To cover all cases, one can disable each and every authentication method. I believe currently the following will do: -o KbdInteractiveAuthentication=no -o PasswordAuthentication=no -o GSSAPIAuthentication=no -o HostbasedAuthentication=no -o PubkeyAuthentication=no. Then, if authentication is required, the client will have absolutely no way to authenticate.

Viewing all articles
Browse latest Browse all 837

Trending Articles