Advertisement
klaasmm

org.apache.karaf.shell.cfg

Oct 1st, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.21 KB | None | 0 0
  1. ################################################################################
  2. #
  3. #    Licensed to the Apache Software Foundation (ASF) under one or more
  4. #    contributor license agreements.  See the NOTICE file distributed with
  5. #    this work for additional information regarding copyright ownership.
  6. #    The ASF licenses this file to You under the Apache License, Version 2.0
  7. #    (the "License"); you may not use this file except in compliance with
  8. #    the License.  You may obtain a copy of the License at
  9. #
  10. #       http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. #    Unless required by applicable law or agreed to in writing, software
  13. #    distributed under the License is distributed on an "AS IS" BASIS,
  14. #    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. #    See the License for the specific language governing permissions and
  16. #    limitations under the License.
  17. #
  18. ################################################################################
  19.  
  20. #
  21. # These properties are used to configure Karaf's ssh shell.
  22. #
  23.  
  24. #
  25. # Via sshPort and sshHost you define the address you can login into Karaf.
  26. #
  27. sshPort = 8213
  28. sshHost = 0.0.0.0
  29.  
  30. #
  31. # The sshIdleTimeout defines the inactivity timeout to logout the SSH session.
  32. # The sshIdleTimeout is in milliseconds, and the default is set to 30 minutes.
  33. #
  34. sshIdleTimeout = 1800000
  35.  
  36. #
  37. # sshRealm defines which JAAS domain to use for password authentication.
  38. #
  39. sshRealm = karaf
  40.  
  41. #
  42. # The location of the hostKey file defines where the private/public key of the server
  43. # is located. If no file is at the defined location it will be ignored.
  44. #
  45. hostKey = ${karaf.etc}/host.key
  46.  
  47. #
  48. # The format used for hostKey.
  49. # Possible values are simple (Karaf internal), or PEM (OpenSSH format)
  50. #
  51. hostKeyFormat = simple
  52.  
  53. #
  54. # Role name used for SSH access authorization
  55. # If not set, this defaults to the ${karaf.admin.role} configured in etc/system.properties
  56. #
  57. # sshRole = admin
  58.  
  59. #
  60. # Self defined key size in 1024, 2048, 3072, or 4096
  61. # If not set, this defaults to 4096.
  62. #
  63. keySize = 1024
  64.  
  65. #
  66. # Specify host key algorithm, defaults to RSA
  67. #
  68. # algorithm = RSA
  69.  
  70. #
  71. # Specify the client log level (default is WARN)
  72. # 0: ERROR
  73. # 1: WARN
  74. # 2: INFO
  75. # 3: DEBUG
  76. # 4: TRACE
  77. #
  78. #logLevel=1
  79.  
  80. #
  81. # Specify an additional welcome banner to be displayed when a user logs into the server.
  82. #
  83. # welcomeBanner =
  84.  
  85. #
  86. # Defines the completion mode on the Karaf shell console. The possible values are:
  87. # - GLOBAL: it's the same behavior as in previous Karaf releases. The completion displays all commands and all aliases
  88. #           ignoring if you are in a subshell or not.
  89. # - FIRST: the completion displays all commands and all aliases only when you are not in a subshell. When you are
  90. #          in a subshell, the completion displays only the commands local to the subshell.
  91. # - SUBSHELL: the completion displays only the subshells on the root level. When you are in a subshell, the completion
  92. #             displays only the commands local to the subshell.
  93. # This property define the default value when you use the Karaf shell console.
  94. # You can change the completion mode directly in the shell console, using shell:completion command.
  95. #
  96. completionMode = GLOBAL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement