org.apache.karaf.shell.cfg 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. # These properties are used to configure Karaf's ssh shell.
  21. #
  22. #
  23. # Via sshPort and sshHost you define the address you can login into Karaf.
  24. #
  25. sshPort = 8101
  26. sshHost = 0.0.0.0
  27. #
  28. # The sshIdleTimeout defines the inactivity timeout to logout the SSH session.
  29. # The sshIdleTimeout is in milliseconds, and the default is set to 30 minutes.
  30. #
  31. sshIdleTimeout = 1800000
  32. #
  33. # sshRealm defines which JAAS domain to use for password authentication.
  34. #
  35. sshRealm = karaf
  36. #
  37. # The location of the hostKey file defines where the private/public key of the server
  38. # is located. If no file is at the defined location it will be ignored.
  39. #
  40. hostKey = ${karaf.etc}/host.key
  41. #
  42. # The format used for hostKey.
  43. # Possible values are simple (Karaf internal), or PEM (OpenSSH format)
  44. #
  45. hostKeyFormat = simple
  46. #
  47. # Role name used for SSH access authorization
  48. # If not set, this defaults to the ${karaf.admin.role} configured in etc/system.properties
  49. #
  50. # sshRole = admin
  51. #
  52. # Self defined key size in 1024, 2048, 3072, or 4096
  53. # If not set, this defaults to 4096.
  54. #
  55. # keySize = 4096
  56. #
  57. # Specify host key algorithm, defaults to RSA
  58. #
  59. # algorithm = RSA
  60. #
  61. # Specify the client log level (default is WARN)
  62. # 0: ERROR
  63. # 1: WARN
  64. # 2: INFO
  65. # 3: DEBUG
  66. # 4: TRACE
  67. #
  68. #logLevel=1
  69. #
  70. # Specify an additional welcome banner to be displayed when a user logs into the server.
  71. #
  72. # welcomeBanner =
  73. #
  74. # Defines the completion mode on the Karaf shell console. The possible values are:
  75. # - GLOBAL: it's the same behavior as in previous Karaf releases. The completion displays all commands and all aliases
  76. # ignoring if you are in a subshell or not.
  77. # - FIRST: the completion displays all commands and all aliases only when you are not in a subshell. When you are
  78. # in a subshell, the completion displays only the commands local to the subshell.
  79. # - SUBSHELL: the completion displays only the subshells on the root level. When you are in a subshell, the completion
  80. # displays only the commands local to the subshell.
  81. # This property define the default value when you use the Karaf shell console.
  82. # You can change the completion mode directly in the shell console, using shell:completion command.
  83. #
  84. #
  85. # Override allowed SSH cipher algorithms.
  86. # Default: aes128-ctr,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc
  87. #
  88. # ciphers = aes128-ctr,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc
  89. #
  90. # Override allowed SSH HMAC algorithms.
  91. # Default: hmac-sha2-512,hmac-sha2-256,hmac-sha1
  92. #
  93. # macs = hmac-sha2-512,hmac-sha2-256,hmac-sha1
  94. #
  95. # Override allowed SSH key exchange algorithms.
  96. # Default: diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
  97. #
  98. # kexAlgorithms = diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
  99. #
  100. # Override moduli-url.
  101. # Default: moduli-url not specified to use the internal one from SSHD
  102. #
  103. # moduli-url = external moduli-url users wanna use
  104. completionMode = GLOBAL