You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.1 KiB

  1. key: sftp
  2. title: SFTP
  3. description: SFTP (SSH File Transfer Protocol) is a secure file transfer protocol. It runs over the SSH protocol. It supports the full security and authentication functionality of SSH.
  4. author: requarks.io
  5. logo: https://static.requarks.io/logo/ssh.svg
  6. website: https://www.ssh.com/ssh/sftp
  7. isAvailable: true
  8. supportedModes:
  9. - push
  10. defaultMode: push
  11. schedule: false
  12. props:
  13. host:
  14. type: String
  15. title: Host
  16. default: ''
  17. hint: Hostname or IP of the remote SSH server.
  18. order: 1
  19. port:
  20. type: Number
  21. title: Port
  22. default: 22
  23. hint: SSH port of the remote server.
  24. order: 2
  25. authMode:
  26. type: String
  27. title: Authentication Method
  28. default: 'privateKey'
  29. hint: Whether to use Private Key or Password-based authentication. A private key is highly recommended for best security.
  30. enum:
  31. - privateKey
  32. - password
  33. order: 3
  34. username:
  35. type: String
  36. title: Username
  37. default: ''
  38. hint: Username for authentication.
  39. order: 4
  40. privateKey:
  41. type: String
  42. title: Private Key Contents
  43. default: ''
  44. hint: (Private Key Authentication Only) - Contents of the private key
  45. multiline: true
  46. sensitive: true
  47. order: 5
  48. passphrase:
  49. type: String
  50. title: Private Key Passphrase
  51. default: ''
  52. hint: (Private Key Authentication Only) - Passphrase if the private key is encrypted, leave empty otherwise
  53. sensitive: true
  54. order: 6
  55. password:
  56. type: String
  57. title: Password
  58. default: ''
  59. hint: (Password-based Authentication Only) - Password for authentication
  60. sensitive: true
  61. order: 6
  62. basePath:
  63. type: String
  64. title: Base Directory Path
  65. default: '/root/wiki'
  66. hint: Base directory where files will be transferred to. The path must already exists and be writable by the user.
  67. actions:
  68. - handler: exportAll
  69. label: Export All
  70. hint: Output all content from the DB to the remote SSH server, overwriting any existing data. If you enabled SFTP after content was created or you temporarily disabled it, you'll want to execute this action to add the missing content.