Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | upgrade to sshd 1.6.0, add eddsa dependency, upgrade jgit to 4.1.2 | ricardop | 2022-10-08 | 1 | -0/+5 |
| | | | | | | | | | (cherry picked from commit d8fbdda2ab3fa48e92bdf37399d4b75c48409c5c@rpardini:master) # Conflicts: # .classpath # build.moxie # src/test/java/com/gitblit/tests/SshUnitTest.java | ||||
* | The public key manager can disable writing keys, which hides commands | Florian Zschocke | 2016-12-06 | 1 | -7/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some public key mangers may be read-only, i.e. not allow to add or delete keys, or to change the key comment or assigned permissions. In such a case the respective commands should not be available on the SSH shell and the SSH Keys panel should also not offer the possibility. The `IPublicKeyManager` gets three new methods, modelled after the `AuthenticationManager`: `supportsWritingKeys`, `supportsCommentChanges` and `supportsPermissionChanges`. They return true if a key manager allows for keys to be written or updated. For example the existing `FileKeyManager` will return true for all three since it allows to store and update keys in a file. The new `LdapKeyManager` returns false since it only accesses LDAP and can not add or update any keys in the directory. A future key manager might get keys from an LDAP directory but still keep comments and permissions for it in a local copy. If writing of keys is not supported: * the welcome shell does not suggest adding a key, * the `SshKeysDispatcher` does not offer the "add", "remove", "comment" and "permission" commands, and * the SSH keys panel hides the "delete" button in the key list, and the "Add Key" form. The hiding of the "Add key" form is not perfect since the surrounding div is still shown, but I don't know how to hide it and it didn't look too bad, either. | ||||
* | Renamed ssh.Display(Host|Port) to ssh.Advertised(Host|Port) | James Moger | 2015-06-15 | 1 | -2/+2 |
| | |||||
* | Added git.sshDisplay{Port|Host} to hide port forward. | Morten Bøgeskov | 2015-06-15 | 1 | -3/+8 |
| | | | | | | Running gitblit in a container it's easy to expose the ssh on the default port. Using git.sshDisplayPort/git.sshDisplayHost you can expose the forwarded address as the official location. | ||||
* | Update headers | James Moger | 2014-04-13 | 1 | -0/+1 |
| | |||||
* | Clarify interactive shells message | James Moger | 2014-04-10 | 1 | -1/+1 |
| | |||||
* | Split administration commands into a plugin, enhance plugin manager | James Moger | 2014-04-10 | 1 | -1/+1 |
| | |||||
* | Implement management commands in repositories dispatcher | James Moger | 2014-04-10 | 1 | -1/+1 |
| | |||||
* | Track the SSH public key used for a session and add a `keys which` command | James Moger | 2014-04-10 | 1 | -10/+16 |
| | |||||
* | Improve command help with formatting and usage examples | James Moger | 2014-04-10 | 1 | -17/+54 |
| | |||||
* | Revise dispatchers and move command classes | James Moger | 2014-04-10 | 1 | -0/+1 |
| | |||||
* | Show root commands in welcome shell and improve command registration | James Moger | 2014-04-10 | 1 | -6/+18 |
| | |||||
* | Add a welcome shell | James Moger | 2014-04-10 | 1 | -0/+156 |
Conflicts: src/main/java/com/gitblit/transport/ssh/SshDaemon.java |