Production SSH Access

Connect to the Codante production server via SSH for remote administration.

6|1|Updated Mar 16, 2023
One-click install
npx skills add https://github.com/codante-io/codante-io-api --skill production-ssh-access
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Production SSH Access
Source: https://github.com/codante-io/codante-io-api/tree/main/.claude/skills/production-ssh-access
Command: npx skills add https://github.com/codante-io/codante-io-api --skill production-ssh-access

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the complexity and guesswork involved in securely accessing, monitoring, and troubleshooting production servers. It centralizes all necessary commands and information, reducing errors and speeding up diagnostics, so you don't have to remember intricate SSH commands, log paths, or service management procedures.

Core Features & Use Cases

  • Secure SSH Access: Provides direct commands for connecting to the Codante production server, ensuring secure and guided entry.
  • Comprehensive Log Management: Offers commands to view, filter, search, and download various application, system, and web server logs (e.g., Laravel, nginx, Supervisor, MySQL, Redis) for rapid issue identification.
  • Service & Process Management: Guides on checking status, restarting, and monitoring key services like Laravel Octane, nginx, MySQL, Redis, and Supervisor, ensuring your applications run smoothly.
  • Troubleshooting & Maintenance: Includes commands for checking disk space, CPU/memory, clearing cache, running database migrations, and diagnosing common issues like 502 errors or high memory usage.
  • Use Case: A critical bug is reported on the production API. Use this Skill to quickly connect, check application and nginx error logs, restart the affected service (e.g., Octane), and monitor its status, all without needing to recall specific commands or server paths.

Quick Start

Connect to the Codante production server

ssh [email protected]

Frequently Asked Questions about Production SSH Access

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect to a production server via SSH for troubleshooting?

SSH enables secure remote access to production servers for administration and diagnostics. Use the SSH command with the host address and credentials to establish a connection, then run approved commands to inspect logs, check service status, and diagnose issues without physical access.

What commands do I use to view production server logs and identify errors?

Production log viewing commands filter application, web server, and system logs by severity, timestamp, and keyword to pinpoint errors. This Skill provides paths and commands for Laravel, nginx, Supervisor, MySQL, and Redis logs, enabling rapid error identification and root-cause analysis.

How do I restart services like Laravel Octane or nginx in production?

Service management commands check status, restart, and monitor critical processes like Laravel Octane, nginx, MySQL, and Redis through Supervisor or systemctl. This ensures applications recover from failures and resume normal operation with minimal downtime.

What steps should I take when a production API returns a 502 error?

A 502 error typically indicates a backend service failure. Connect via SSH, check application and nginx error logs, verify the status of Laravel Octane and other services, restart affected processes, and monitor logs to confirm recovery.

Can I check disk space and memory usage on a production server?

Yes. SSH access includes commands to monitor CPU, memory, and disk space utilization on production servers, helping you identify resource bottlenecks, prevent out-of-disk errors, and maintain system health.