threads / discuss / 57373

feature request: add a way to debug ssh connection

Subject: feature request: add a way to debug ssh connection

## tl;dr

3 messages between Feb 7, 2022 and Feb 7, 2022.

replies: 2people: 2as markdown or json

Paolo Benvenuto· Feb 7, 2022, 02:14 UTC · lore

I'm using git (2.25.1 on xubuntu 20.04), and I access to my remote via ssh in order to authenticate with ssh key and not to have to use the username/password pair.

Now, mi internet connection is very slow and unstable, and possibly has other problems - I'm in Cuba.

Doing "git push" I often cannot connect to remote, sometimes it connects, sometimes it doesn't.

"git push -v" adds verbosity only with reference to git

I think a "--ssh-verbose" options would be very useful and very simple to implement. The only thing it must do is adding the -v option to the ssh command (when it is used).

Also, if the user repeats it, it would add a repeated -v option to ssh command.
Thank you for your work on git!
don Paolo Benvenuto
Matt Rogers· Feb 7, 2022, 15:31 UTC · re: Paolo Benvenuto · lore

Re: feature request: add a way to debug ssh connection

Welcome to the git mailing list!
Have you tried doing something like using
`GIT_SSH_COMAND="<whatever your ssh program is> -v" git push"
as recommended in this thread[1]?
[1]: https://stackoverflow.com/q/25388499/7869583
Paolo Benvenuto· Feb 7, 2022, 21:45 UTC · re: Matt Rogers · lore

Re: feature request: add a way to debug ssh connection

ok!
don Paolo Benvenuto

Il giorno lun 7 feb 2022 alle ore 10:31 Matt Rogers <mattr94@gmail.com> ha scritto:

Show 10 quoted lines
>
> Welcome to the git mailing list!
>
> Have you tried doing something like using
>
> `GIT_SSH_COMAND="<whatever your ssh program is> -v" git push"
>
> as recommended in this thread[1]?
>
> [1]: https://stackoverflow.com/q/25388499/7869583

← back to recent threads