Runwork
SSH (key-based auth)

Chat with Gemini AI through local CLI via SSH

Unlock the power of the Google Gemini CLI by bridging your self-hosted n8n instance with your local server via secure SSH connections. This clever workflow transforms terminal-based AI into a functional tool for LangChain agents, allowing for seamless interaction with your local files and system environment. It's a perfect solution for developers wanting to utilize Gemini's free tier within a sophisticated automation framework.

Start Building

What This Recipe Does

This AI-powered automation transforms complex server management into a simple conversational interface. By bridging the gap between natural language and technical execution, this solution allows team members to interact with remote infrastructure without needing to master command-line interfaces or secure shell protocols. The automation acts as an intelligent intermediary that can execute scripts, check system health, and trigger secondary workflows based on simple text prompts. This significantly reduces the time spent on routine maintenance and lowers the barrier to entry for technical operations. Businesses can leverage this tool to ensure that critical server tasks are performed consistently and securely, while maintaining a clear audit trail of actions taken. By turning your n8n infrastructure into a responsive application, you empower your team to resolve technical issues faster and manage resources more efficiently, ultimately leading to improved system uptime and reduced operational overhead.

What You'll Get

Complete App

Forms, dashboards, and UI components ready to use

Automated Workflows

Background automations that run on your schedule

API Endpoints

REST APIs for external integrations

Connected Integrations

SSH (key-based auth) configured and ready

How It Works

  1. 1

    Click "Start Building" and connect your accounts

    Runwork will guide you through connecting SSH (key-based auth)

  2. 2

    Describe any customizations you need

    The AI will adapt the recipe to your specific requirements

  3. 3

    Preview, test, and deploy

    Your app is ready to use in minutes, not weeks

Who Uses This

Frequently Asked Questions

Do I need to know how to write code or use a terminal to use this?

No. This automation is designed for business users to interact with servers using natural language. The AI translates your requests into the necessary technical commands automatically.

How secure is the connection to my servers?

The automation uses industry-standard SSH protocols to communicate with your infrastructure. You maintain full control over the credentials and permissions granted to the AI agent.

Can I limit what the AI agent is allowed to do on my server?

Yes. You can customize the workflow to only allow specific commands or scripts, ensuring the AI operates within a predefined set of safety boundaries.

What happens when I turn this workflow into a Runwork app?

Runwork converts this logic into a professional user interface where your team can chat with the agent, view execution logs, and manage server interactions in a secure, branded environment.

Importing from n8n?

This recipe uses nodes like Langchain.chatTrigger, Langchain.memoryBufferWindow, Langchain.lmChatGoogleGemini, Langchain.toolWorkflow and 6 more. With Runwork, you don't need to learn n8n's workflow syntax—just describe what you want in plain English.

Langchain.chatTrigger Langchain.memoryBufferWindow Langchain.lmChatGoogleGemini Langchain.toolWorkflow Langchain.agent NoOp StickyNote Ssh ExecuteWorkflowTrigger Set

Based on n8n community workflow. View original

Ready to build this?

Start with this recipe and customize it to your needs.

Start Building Now