节点与集成

SSH

The SSH node is useful for executing commands using the Secure Shell Protocol.

Operations

Execute Command

Configure this operation with these parameters:

  • Credential to connect with: Select an existing or create a new SSH credential to connect with.
  • Command: Enter the command to execute on the remote device.
  • Working Directory: Enter the directory where n8n should execute the command.

Download File

  • Credential to connect with: Select an existing or create a new SSH credential to connect with.
  • Path: Enter the path for the file you want to download. This path must include the file name. The downloaded file will use this file name. To use a different name, use the File Name option. Refer to Download File options for more information.
  • File Property: Enter the name of the object property that holds the binary data you want to download.

Download File options

You can further configure this operation with the File Name option. Use this option to override the binary data file name to a name of your choice.

Upload File

  • Credential to connect with: Select an existing or create a new SSH credential to connect with.
  • Input Binary Field: Enter the name of the input binary field that contains the file you want to upload.
  • Target Directory: The directory to upload the file to. The name of the file is taken from the binary data file name. To enter a different name, use the File Name option. Refer to Upload File options for more information.

Upload File options

You can further configure this operation with the File Name option. Use this option to override the binary data file name to a name of your choice.

Templates and examples

Browse SSH integration templates or search all templates

官方原文和授权

本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。

来源、授权与修改

本站保留许可证、固定提交号、社区作者和修改说明,不代表 n8n 对本站背书。

查看许可证查看来源和修改说明