ssh_commands.golden 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. change-remote
  2. short: Changes the remote address used in the tunnel for the provided vpn addr
  3. help:
  4. flags:
  5. -address string
  6. The new remote address, ip:port
  7. -json
  8. outputs as json
  9. -pretty
  10. pretty prints json, assumes -json
  11. close-tunnel
  12. short: Closes a tunnel for the provided vpn addr
  13. help:
  14. flags:
  15. -local-only
  16. Disables notifying the remote that the tunnel is shutting down
  17. -json
  18. outputs as json
  19. -pretty
  20. pretty prints json, assumes -json
  21. create-tunnel
  22. short: Creates a tunnel for the provided vpn address
  23. help: The lighthouses will be queried for real addresses but you can provide one as well.
  24. flags:
  25. -address string
  26. Optionally provide a real remote address, ip:port
  27. -json
  28. outputs as json
  29. -pretty
  30. pretty prints json, assumes -json
  31. device-info
  32. short: Prints information about the network device.
  33. help:
  34. flags:
  35. -json
  36. outputs as json
  37. -pretty
  38. pretty prints json, assumes -json
  39. help
  40. short: prints available commands or help <command> for specific usage info
  41. help:
  42. flags:
  43. -json
  44. outputs as json
  45. -pretty
  46. pretty prints json, assumes -json
  47. identity
  48. short: Prints the certificate identity of the host owning the provided vpn addr
  49. help: Identity is what the certificate says: name, vpn addrs, networks, groups, fingerprint, issuer and validity. The address may carry a port, so a connection's remote address can be passed through as is. For this node's own identity use whoami.
  50. flags:
  51. -address string
  52. The vpn addr to look up, optionally with a port
  53. -json
  54. outputs as json
  55. -pretty
  56. pretty prints json, assumes -json
  57. list-hostmap
  58. short: List all known previously connected hosts
  59. help:
  60. flags:
  61. -by-index
  62. gets all hosts in the hostmap from the index table
  63. -json
  64. outputs as json
  65. -pretty
  66. pretty prints json, assumes -json
  67. list-lighthouse-addrmap
  68. short: List all lighthouse map entries
  69. help:
  70. flags:
  71. -json
  72. outputs as json
  73. -pretty
  74. pretty prints json, assumes -json
  75. list-pending-hostmap
  76. short: List all handshaking hosts
  77. help:
  78. flags:
  79. -by-index
  80. gets all hosts in the hostmap from the index table
  81. -json
  82. outputs as json
  83. -pretty
  84. pretty prints json, assumes -json
  85. log-format
  86. short: Gets or sets the current log format
  87. help:
  88. flags:
  89. -json
  90. outputs as json
  91. -pretty
  92. pretty prints json, assumes -json
  93. log-level
  94. short: Gets or sets the current log level
  95. help:
  96. flags:
  97. -json
  98. outputs as json
  99. -pretty
  100. pretty prints json, assumes -json
  101. print-cert
  102. short: Prints the current certificate being used or the certificate for the provided vpn addr
  103. help:
  104. flags:
  105. -raw
  106. prints the PEM encoded certificate; with -json, an object holding it
  107. -json
  108. outputs as json
  109. -pretty
  110. pretty prints json, assumes -json
  111. print-relays
  112. short: Prints json details about all relay info
  113. help:
  114. flags:
  115. -json
  116. outputs as json
  117. -pretty
  118. pretty prints json, assumes -json
  119. print-tunnel
  120. short: Prints json details about a tunnel for the provided vpn addr
  121. help:
  122. flags:
  123. -json
  124. outputs as json
  125. -pretty
  126. pretty prints json, assumes -json
  127. query-lighthouse
  128. short: Query the lighthouses for the provided vpn address
  129. help: This command is asynchronous. Only currently known udp addresses will be printed.
  130. flags:
  131. -json
  132. outputs as json
  133. -pretty
  134. pretty prints json, assumes -json
  135. reload
  136. short: Reloads configuration from disk, same as sending HUP to the process
  137. help:
  138. flags:
  139. -json
  140. outputs as json
  141. -pretty
  142. pretty prints json, assumes -json
  143. version
  144. short: Prints the currently running version of nebula
  145. help:
  146. flags:
  147. -json
  148. outputs as json
  149. -pretty
  150. pretty prints json, assumes -json
  151. whoami
  152. short: Prints the certificate identity of this node
  153. help: The fields identity prints, read from this node's own certificate.
  154. flags:
  155. -json
  156. outputs as json
  157. -pretty
  158. pretty prints json, assumes -json