Skip to content

SSH#

SSH node ใช้สำหรับรันคำสั่งผ่าน Secure Shell Protocol

Credentials

คุณสามารถดูข้อมูลการตั้งค่า authentication สำหรับ node นี้ได้ที่ ที่นี่

Operations#

Uploading files

ถ้าจะอัปโหลดไฟล์ ต้องใช้ node เพิ่มเติม เช่น Read/Write Files from Disk หรือ HTTP Request เพื่อส่งไฟล์เป็น data property

Execute Command#

ตั้งค่า operation นี้ด้วย parameters เหล่านี้:

  • Credential to connect with: เลือกหรือสร้าง SSH credential ที่จะใช้เชื่อมต่อ
  • Command: ใส่คำสั่งที่ต้องการรันบนเครื่องปลายทาง
  • Working Directory: ใส่ path ของ directory ที่จะรันคำสั่ง

Download File#

  • Credential to connect with: เลือกหรือสร้าง SSH credential ที่จะใช้เชื่อมต่อ
  • Path: ใส่ path ของไฟล์ที่ต้องการดาวน์โหลด ต้องรวมชื่อไฟล์ด้วย ไฟล์ที่ดาวน์โหลดจะใช้ชื่อนี้ ถ้าอยากใช้ชื่ออื่น ให้ใช้ option File Name ดูรายละเอียดที่ Download File options
  • File Property: ใส่ชื่อ property ที่เก็บ binary data ที่ต้องการดาวน์โหลด

Download File options#

ตั้งค่าเพิ่มเติมได้ด้วย option File Name ใช้เปลี่ยนชื่อไฟล์ binary data ที่ดาวน์โหลด

Upload File#

  • Credential to connect with: เลือกหรือสร้าง SSH credential ที่จะใช้เชื่อมต่อ
  • Input Binary Field: ใส่ชื่อ field ที่เก็บ binary file ที่จะอัปโหลด
  • Target Directory: ใส่ directory ที่จะอัปโหลดไฟล์ไป ชื่อไฟล์จะใช้ตาม binary data file name ถ้าอยากใช้ชื่ออื่น ให้ใช้ option File Name ดูรายละเอียดที่ Upload File options

Upload File options#

ตั้งค่าเพิ่มเติมได้ด้วย option File Name ใช้เปลี่ยนชื่อไฟล์ binary data ที่อัปโหลด

Templates and examples#

Send Email if server has upgradable packages

by Hostinger

View template details
Check VPS resource usage every 15 minutes

by Hostinger

View template details
Docker Registry Cleanup Workflow

by Muzaffer AKYIL

View template details
Browse SSH integration templates, or search all templates