libgit2/tests/online
Carlos Martín Nieto ccb85c8fa1 ssh: make sure to ask for a username and use the same one
In order to know which authentication methods are supported/allowed by
the ssh server, we need to send a NONE auth request, which needs a
username associated with it.

Most ssh server implementations do not allow switching the username
between authentication attempts, which means we cannot use a dummy
username and then switch. There are two ways around this.

The first is to use a different connection, which an earlier commit
implements, but this increases how long it takes to get set up, and
without knowing the right username, we cannot guarantee that the
list we get in response is the right one.

The second is what's implemented here: if there is no username specified
in the url, ask for it first. We can then ask for the list of auth
methods and use the user's credentials in the same connection.
2014-06-26 22:58:39 +02:00
..
clone.c ssh: make sure to ask for a username and use the same one 2014-06-26 22:58:39 +02:00
fetch.c remote: expose the remote's symref mappings 2014-05-21 12:12:32 +02:00
fetchhead.c Add reflog parameters to remote apis 2014-02-04 20:38:13 -08:00
push_util.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
push_util.h Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
push.c Verify update_tips callbacks in push test cases 2014-04-21 19:38:34 +02:00