• Gustav Paul's avatar
    exp/ssh: allow for msgUserAuthBanner during authentication · bd9dc3d5
    Gustav Paul authored
    The SSH spec allows for the server to send a banner message to the client at any point during the authentication process. Currently the ssh client auth types all assume that the first response from the server after issuing a userAuthRequestMsg will be one of a couple of possible authentication success/failure messages. This means that client authentication breaks if the ssh server being connected to has a banner message configured.
    
    This changeset refactors the noneAuth, passwordAuth and publickeyAuth types' auth() function and allows for msgUserAuthBanner during authentication.
    
    R=golang-dev, rsc, dave, agl
    CC=golang-dev
    https://golang.org/cl/5432065
    bd9dc3d5
Name
Last commit
Last update
..
ebnf Loading commit data...
ebnflint Loading commit data...
gotype Loading commit data...
inotify Loading commit data...
norm Loading commit data...
spdy Loading commit data...
sql Loading commit data...
ssh Loading commit data...
terminal Loading commit data...
types Loading commit data...
winfsnotify Loading commit data...
wingui Loading commit data...
README Loading commit data...