summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/transport/ssh
Commit message (Collapse)AuthorAgeFilesLines
...
* doAuthenticate() method doesn't need to be protectedDavid Ostrovsky2014-04-101-3/+2
|
* Be more verbose on gathering plugin's extension pointsDavid Ostrovsky2014-04-101-0/+9
|
* DispatchCommand should be the ExtensionPointJames Moger2014-04-104-34/+25
|
* Hook-up comprensive command cleanup (destroy)James Moger2014-04-106-35/+83
|
* Get the command context with an accessor instead of direct field accessJames Moger2014-04-1010-24/+26
|
* Expose SSH command as plugin extension pointDavid Ostrovsky2014-04-103-2/+26
| | | | | | Example plugin is provided [1]. [1] https://github.com/davido/gitblit-cookbook-plugin
* Revise dispatchers and move command classesJames Moger2014-04-1020-49/+79
|
* Create a simple ls-users admin commandJames Moger2014-04-102-0/+74
|
* Elevate the public key manager to a top-level managerJames Moger2014-04-109-149/+124
|
* Create git and gitblit dispatchersJames Moger2014-04-1015-103/+217
|
* Show root commands in welcome shell and improve command registrationJames Moger2014-04-103-52/+99
|
* Add a simple repository list commandJames Moger2014-04-102-0/+74
|
* Pass IGitblit into the SSH command contextJames Moger2014-04-103-2/+11
|
* Add a welcome shellJames Moger2014-04-102-2/+163
| | | | | Conflicts: src/main/java/com/gitblit/transport/ssh/SshDaemon.java
* Add SSH daemon testDavid Ostrovsky2014-04-103-4/+49
|
* Prevent double authentication for the same public keyDavid Ostrovsky2014-04-105-23/+62
| | | | | | | | | | | | | | | | Openssh client sends two requests, one without a key signature to verify that the public key is acceptable and the second one with the signature after having loaded the private key and signed some data for actual verification. To prevent that the PublickeyAuthenticator#authenticate is called twice cache the authentication status for session and public key. Implement SessionListener to clean up the cache entry when session is destroyed. This is a workaround for SSHD bug [1]. Inspired-By: Guillaume Nodet <gnodet@apache.org> [1] https://issues.apache.org/jira/browse/SSHD-300
* Fix message formattingDavid Ostrovsky2014-04-101-1/+1
| | | | Change-Id: I1ee1e4135525b7064c4f8e159ed9d8cbef510a81
* Move dispatcher creation to SshCommandFactory and revise permissionJames Moger2014-04-104-450/+460
| | | | checks
* Rename server session classesJames Moger2014-04-103-16/+10
|
* Rename AbstractGitCommand->BaseGitCommandJames Moger2014-04-104-6/+6
|
* Merge AbstractSshCommand and BaseCommand into a single classJames Moger2014-04-107-516/+469
|
* Rename authenticators for clarityJames Moger2014-04-105-12/+12
|
* Move cache to IKeyManager and implement isStale() in FileKeyManagerJames Moger2014-04-107-68/+121
|
* Support admin commands that respect user permissionsJames Moger2014-04-104-2/+12
|
* Support hidden commands and hide create-repo and reviewJames Moger2014-04-104-6/+11
|
* Add add-key and rm-key commands that apply only to the current userJames Moger2014-04-106-42/+191
|
* Renamed SshContext->SshCommandContext for clarity of purposeJames Moger2014-04-103-6/+6
|
* Rename & simplify SshSession->SshDaemonClientJames Moger2014-04-1012-148/+101
|
* Revise SSH public key integration with AuthenticationManagerJames Moger2014-04-102-19/+34
|
* Simplify version command and outputJames Moger2014-04-101-8/+2
|
* Disregard comment/description for add/remove in FileKeyManagerJames Moger2014-04-101-26/+78
|
* Fix deleteAllKeys method signatureJames Moger2014-04-104-4/+4
|
* Remove unused idGenerator from the SshSessionFactoryJames Moger2014-04-102-7/+2
|
* Display the selected SSH backend in the daemon startup messageJames Moger2014-04-101-5/+5
|
* Add review SSH commandDavid Ostrovsky2014-04-102-0/+89
| | | | Change-Id: Ia03c15608814346522c548ff2439ee672ccb0d28
* Add set account SSH commandDavid Ostrovsky2014-04-107-2/+157
| | | | Change-Id: I33d343dd34f93eaff9581d54f825f8c486e7c17f
* Add support for NIO2 IoSessionDavid Ostrovsky2014-04-101-0/+18
| | | | | | | | | | Starting from version 0.9.0 Apache SSHD project added support for NIO2 IoSession. To use the new NIO2 session the `backend` option must be set to `NIO2`. By default, `NIO2`. Change-Id: I06cf92b02e80ecf9e8bfbd9f6d6d623dfe3ccff3
* Bump SSHD version to 0.10.1David Ostrovsky2014-04-105-23/+70
| | | | Change-Id: Ic7e204fb7ee2eb172f4c8424fc3d4b7e6c631ddd
* Extract key manager interface and implement a file-based key managerJames Moger2014-04-106-48/+332
|
* Cleanup importsJames Moger2014-04-101-5/+0
|
* Establish ssh keys folder, support multiple keys, revise key authenticatorJames Moger2014-04-102-102/+76
|
* Move Git daemon into different packageJames Moger2014-04-101-1/+1
|
* SSHD: Add support for git pack commandsDavid Ostrovsky2014-04-1010-163/+321
| | | | | | | | | | | Add git-upload-pack and git-receive-pack commands. Conflicts: src/main/java/com/gitblit/manager/ServicesManager.java src/main/java/com/gitblit/transport/ssh/CommandDispatcher.java src/main/java/com/gitblit/transport/ssh/SshCommandFactory.java Change-Id: I8c057b41f1dfad6d004e6aa91f96c8c673be9be2
* Fix command dispatchingDavid Ostrovsky2014-04-102-16/+35
| | | | | | | | | | | | | DispatchCommand is supposed to be nested: ssh server gitblit version --verbose --format json means that first the command that is seen by dispatching process is "gitblit". Dispatch command look in its commands map for this command and dispatch the rest of the command and options and arguments to this command, version in this example. Change-Id: I8ef8e0e369922c793ca7ad36c1a8f76b0206baa7
* Eliminate use of Dagger and do not create inner classesJames Moger2014-04-108-294/+267
| | | | | | | | | | | This change outlines somethings I'd like to see in your latest code. 1. Elimination of Dagger 2. Less noise from inner class instantiation 3. Formalizing filesystem location for keys instead of Unix-y /tmp/ 4. Password authentication as alternative to Key authentication Change-Id: I7a76e1811ad7cd545444fd8b59bbe8c4f45ccfec
* Convert SshDaemon to unix formatDavid Ostrovsky2014-04-101-331/+335
| | | | Change-Id: Icb415c2bc62321ddd0ae08445d97f1f8102adee8
* Factor out methods from SshCommandServer to SshDaemonDavid Ostrovsky2014-04-102-308/+205
| | | | Change-Id: I02d545a8ab68b06d733ad8e7ed476767a34aa244
* SSHD: Add support for generic commandsDavid Ostrovsky2014-04-1014-69/+1305
| | | | Change-Id: I5a60710323ca674d70e34f7451422ec167105429
* Support serving repositories over the SSH transportEric Myhre2014-04-106-0/+695
Gitblit would greatly benefit from an integrated SSH server. This would complete the transport trifecta. Change-Id: I6fb95abe65655fa74d47ea71522d8d9a1541450c