ssh-journalctl

Retrieve systemd journal log entries from remote hosts via SSH.

6|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-journalctl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssh-journalctl
Source: https://github.com/Nightreaver/python-ssh-mcp/tree/main/skills/ssh-journalctl
Command: npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-journalctl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of retrieving recent journal log entries for systemd units on remote hosts, allowing for efficient diagnosis and troubleshooting of system issues.

Core Features & Use Cases

  • Remote Log Retrieval: Fetches log entries from a specified systemd unit on a remote host.
  • Time Filtering: Allows users to specify a time window for the log entries.
  • Line Limiting: Provides an option to limit the number of lines returned in the log output.
  • Use Case: When an issue occurs with a specific service on a remote server, use this Skill to quickly retrieve the relevant log entries from the systemd journal.

Quick Start

Run ssh_journalctl to fetch recent journal log entries for the 'nginx.service' on the host 'web01'.

Frequently Asked Questions about ssh-journalctl

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

FAQPage Schema
How do I retrieve systemd journal logs from a remote host via SSH?

To retrieve systemd journal logs from a remote host via SSH, use this Skill to fetch specified unit entries. It connects remotely and supports time-based filtering and line limiting for efficient troubleshooting.

What permissions are needed to read remote systemd journal entries?

Reading remote systemd journal entries requires SSH access to the target host. The connecting user must also belong to the systemd-journal or adm group to successfully retrieve and read the log entries.

Can I filter remote journalctl output by time and line count?

You can filter remote journalctl output by specifying a time window and limiting the number of returned lines. This narrows the retrieved systemd log entries for more targeted diagnostics.

How do I troubleshoot a failed service on a remote server using journalctl?

Troubleshoot a failed service on a remote server by retrieving its journalctl entries. Specify the systemd unit name and host to fetch recent logs, allowing you to quickly diagnose the issue.

Does this tool work for systemd diagnostics across multiple remote hosts?

This tool works for systemd diagnostics on remote hosts by fetching journal entries. It is intended for system administrators to retrieve logs from specified units, though each request targets a host individually.