Re: [Feature Request] mention hostname on -v

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi,

On 12/09/2023 07:43, Philipp Marek wrote:
I've got a usecase right now where I've got to use a few
intermediate ProxyJump hosts, and it would help debugging
via -v tremendously if the debug lines would have a prefix
of the originating host, so that they can be easily associated.

The FQDN might be too long, though -- perhaps just the PID
with an additional line associating it with the host would be
a better fit?

it's a bit of a hack, but you can get PID in debug messages right now
using LogVerbose=*, though you'll probably need to set it in ssh_config
if you're using ProxyJump as options from the command-line are mostly
not passed to the subordinate ssh processes.

Thanks for the idea -- but that means having write access to sshd_config
and (potentially) disturbing all other users on the machines.

Note that Damien wrote ssh_config[1], not sshd_config.
You can have a ~/.ssh/config to override system defaults.

Best regards, Martin

[1] https://man.openbsd.org/ssh_config#LogVerbose

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux