8
n8n 한국어amn8n.com

AI Linux 시스템 관리자 (Linux VPS 인스턴스 관리)

중급

이것은DevOps분야의자동화 워크플로우로, 6개의 노드를 포함합니다.주로 Agent, ChatTrigger, LmChatOpenAi, ToolWorkflow, ToolHttpRequest 등의 노드를 사용하며. AI Linux 시스템 관리자 (Linux VPS 인스턴스 관리)

사전 요구사항
  • OpenAI API Key
  • 대상 API의 인증 정보가 필요할 수 있음

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "nodes": [
    {
      "id": "84460a1f-50e7-4d16-8701-ebc1a86a0ef1",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -360,
        -40
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "gpt-4o"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "8kKub5m50fH8NRfv",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "221bbae2-0920-46b4-8b25-bb654439e567",
      "name": "채팅 메시지 수신 시",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -580,
        -220
      ],
      "webhookId": "61927fdb-5d6e-47c2-aa73-bb48e46d41ad",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "dd0a9a82-9ad5-4116-a738-81334c58a0f2",
      "name": "기본 SSH 명령어",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        -160,
        -40
      ],
      "parameters": {
        "url": "https://www.hostinger.com/tutorials/linux-commands",
        "toolDescription": "Get basic SSH commands"
      },
      "typeVersion": 1.1
    },
    {
      "id": "428f2694-26fd-4ce1-b423-f9a734395b08",
      "name": "SSH 실행",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        40,
        -40
      ],
      "parameters": {
        "name": "SSH",
        "source": "parameter",
        "description": "Call this tool to execute the bash command on external VPS.\nTo pass a command to execute, you should only pass the command itself.\n",
        "workflowJson": "{\n  \"nodes\": [\n    {\n      \"parameters\": {\n        \"workflowInputs\": {\n          \"values\": [\n            {\n              \"name\": \"query\"\n            }\n          ]\n        }\n      },\n      \"type\": \"n8n-nodes-base.executeWorkflowTrigger\",\n      \"typeVersion\": 1.1,\n      \"position\": [\n        0,\n        0\n      ],\n      \"id\": \"29e380c2-2ecd-465e-a784-f31b1c204b38\",\n      \"name\": \"When Executed by Another Workflow\"\n    },\n    {\n      \"parameters\": {\n        \"command\": \"={{ $json.query }}\"\n      },\n      \"type\": \"n8n-nodes-base.ssh\",\n      \"typeVersion\": 1,\n      \"position\": [\n        220,\n        0\n      ],\n      \"id\": \"81a147e8-e8c8-4c98-8a9b-24de4e0152a0\",\n      \"name\": \"SSH\",\n      \"alwaysOutputData\": true,\n      \"credentials\": {\n        \"sshPassword\": {\n          \"id\": \"VMCCUQkaq46q3CpB\",\n          \"name\": \"SSH Password account\"\n        }\n      },\n      \"onError\": \"continueErrorOutput\"\n    }\n  ],\n  \"pinData\": {},\n  \"connections\": {\n    \"When Executed by Another Workflow\": {\n      \"main\": [\n        [\n          {\n            \"node\": \"SSH\",\n            \"type\": \"main\",\n            \"index\": 0\n          }\n        ]\n      ]\n    }\n  }\n}"
      },
      "credentials": {
        "sshPassword": {
          "id": "VMCCUQkaq46q3CpB",
          "name": "SSH Password account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "1cd5280c-f16f-4195-9cdc-1649893ea16c",
      "name": "AI 시스템 관리자",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -340,
        -220
      ],
      "parameters": {
        "text": "=You are an AI Linux System Administrator Agent expert designed to help manage Linux VPS systems.\nThe user will communicate with you as a fellow colleague. You must understand their final intention and act accordingly.\nYou can execute single-line bash commands inside a VPS using the SSH tool.\nTo pass a command to execute, you should only pass the command itself.\nReplacing null with a command you want to execute.\n\n\nYour objectives are:\n\n### **1. Understand User Intent**\n- Parse user requests related to Linux operations.\n- Accurately interpret the intent to generate valid Linux commands.\n- Accurately interpret the response you receive from a VPS.\n- Provide the user with an interpreted response.\n\n### **2. Refer to tools**\n- **Basic SSH commands**\n- **SSH**\n\n### **3. Restrictions**\n- Do not do destructive actions without confirmation from the user.\n- Under no circumstance execute \"rm -rf\" command.\n\n### **4. Behavior Guidelines**\n- Be concise, precise, and consistent.\n- Ensure all generated commands are compatible with Linux SSH.\n- Rely on system defaults when user input is incomplete.\n- For unknown or unrelated queries, clearly indicate invalid input.\n\n\nUser Prompt \nHere is a request from user: {{ $json.chatInput }}",
        "agent": "reActAgent",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "fc8b89d9-36eb-400a-8c25-cd89056efc64",
      "name": "스티커 메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        20,
        -180
      ],
      "parameters": {
        "width": 360,
        "height": 260,
        "content": "## SSH login credentials\nMake sure to provide the correct SSH credentials ID in this embedded workflow under \"sshPassword\".\n\n"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "428f2694-26fd-4ce1-b423-f9a734395b08": {
      "ai_tool": [
        [
          {
            "node": "1cd5280c-f16f-4195-9cdc-1649893ea16c",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "84460a1f-50e7-4d16-8701-ebc1a86a0ef1": {
      "ai_languageModel": [
        [
          {
            "node": "1cd5280c-f16f-4195-9cdc-1649893ea16c",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "dd0a9a82-9ad5-4116-a738-81334c58a0f2": {
      "ai_tool": [
        [
          {
            "node": "1cd5280c-f16f-4195-9cdc-1649893ea16c",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "221bbae2-0920-46b4-8b25-bb654439e567": {
      "main": [
        [
          {
            "node": "1cd5280c-f16f-4195-9cdc-1649893ea16c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - 데브옵스

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수6
카테고리1
노드 유형6
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Hostinger

Hostinger

@hostinger

Hostinger aims to make online presence accessible to everyone worldwide – from developers to aspiring bloggers and business owners. With our fast hosting technology, AI-powered Website Builder, and easy-to-operate hPanel you can succeed online faster and easier.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34