Question
Is there an equivalent for ssh
to sshd -T
(or, for those who know, something like maven's mvn help:effective-pom
) ?
I'd like to be able to see the effective configuration that will be applied to an ssh
command without having to / being able to connect to the remote host
Context
I've got batches with command line arguments, user local ~/.ssh/config
and global /etc/ssh/ssh_config
that bring nightmare config extrapolation problems.
Eg. command is failing because global config is forcing the remote port to the wrong ssh daemon / changed the remote username / changed the remote hostname /