惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
N
Netflix TechBlog - Medium
宝玉的分享
宝玉的分享
Google DeepMind News
Google DeepMind News
腾讯CDC
G
Google Developers Blog
Martin Fowler
Martin Fowler
Microsoft Security Blog
Microsoft Security Blog
Recent Announcements
Recent Announcements
爱范儿
爱范儿
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
A
About on SuperTechFans
aimingoo的专栏
aimingoo的专栏
有赞技术团队
有赞技术团队
Jina AI
Jina AI
人人都是产品经理
人人都是产品经理
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
M
MIT News - Artificial intelligence
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
美团技术团队
WordPress大学
WordPress大学
阮一峰的网络日志
阮一峰的网络日志

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
How to Share Temporary Server Access Securely (2026)
Oğuz Yeşil · 2026-06-14 · via Hacker News: Show HN

Last Updated on 18 hours ago by

Every developer, agency, and system administrator faces the same dilemma sooner or later: how do you share temporary server access securely without handing over your own credentials, creating permanent security holes, or losing track of what they did?

Whether you are onboarding a freelancer, letting a colleague debug an issue, or giving a client limited access to their own environment, the risks are identical. Share your personal SSH key and you lose control. Create a permanent user account and you forget to delete it. Use a shared password and you have no idea who ran rm -rf at 3 AM.

That is exactly why we built Safe Share – a new feature inside Local Panel that lets you grant temporary, restricted server access in under 30 seconds. No credential sharing. No permanent accounts. No guesswork.

In this guide, we compare the best SSH tools for temporary server access, examine how they handle auditability, and show you why the old ways are no longer good enough.


Why Temporary Server Access Is a Security Nightmare

The traditional methods for sharing server access are broken:

MethodProblem
Sharing your own SSH keyIf it leaks, your entire infrastructure is compromised.
Creating a permanent userYou forget to delete it. It sits there for months.
Shared team passwordsZero accountability. Anyone can blame “someone else.”
Manual firewall rulesTime-consuming, error-prone, and rarely reversed.

The real question is not how to share access. It is how to share access that automatically expires, restricts what the recipient can actually do, and does not require you to remember to clean up afterwards.


How Existing SSH Tools Handle Temporary Access

1. PuTTY / OpenSSH

The standard. You can manually create a user, set a password, and email it. But:

  • No automatic expiry
  • No audit logging by default
  • No command restrictions without complex sudoers or chroot configuration
  • You must remember to delete the user afterwards

Auditability: Poor. You get system logs if you configure them manually, but nothing native.

2. Termius

A modern SSH client with team sharing. You can share connections via its cloud vault.

  • Requires the recipient to use Termius
  • Shared credentials live in someone else’s app
  • No fine-grained command restrictions
  • No automatic user expiry on the server itself

Auditability: Moderate. Team activity logs exist, but they are client-side, not server-side.

3. Teleport

An enterprise-grade access plane. Supports temporary certificates, session recording, and role-based access.

  • Excellent auditability and temporary access
  • Requires server-side installation (agent)
  • Complex setup for small teams
  • Overkill for a single VPS or small agency

Auditability: Excellent. But the complexity and cost are prohibitive for many users.

4. AWS Session Manager / Azure Bastion

Cloud-native solutions. Great if you live entirely inside AWS or Azure.

  • Works only within their ecosystems
  • Requires cloud infrastructure configuration
  • Useless for on-premise servers, DigitalOcean droplets, or Hetzner boxes

Auditability: Excellent within their platforms. Non-existent outside them.


Local Panel Safe Share: A Different Approach

Safe Share is built into Local Panel — the native desktop server management app for macOS, Windows, and Linux (via Snapcraft). It does not require installing agents on your server. It does not need cloud infrastructure. It uses your existing SSH connection and adds a secure, temporary access layer on top.

Here is what makes it different: you choose the method, set the duration, define the restrictions, and walk away. Everything else is automatic.


The Three Safe Share Methods

Method 1: Local User — Auto-Expiring SSH Credentials

Best for: External contractors, temporary team members, or anyone who needs a standard SSH connection.

How it works:

  1. Open Local Panel and select your server
  2. Choose Safe Share → Local User
  3. Set the duration: 1 hour, 3 hours, 1 day, 3 days, 1 week, 1 month, or 3 months
  4. Local Panel creates a temporary SSH user on your server with a random username and password
  5. The credentials are displayed to you — share them securely with the recipient
  6. When the timer expires, the user is automatically deleted from the server and any active sessions are terminated

What the recipient sees: A standard SSH login. They can use any terminal client (PuTTY, Terminal, Termius) to connect.

What you get: No permanent accounts. No forgotten users. No credential reuse.


Method 2: Web Terminal — Browser-Based Access via Email Code

Best for: Non-technical clients, quick debugging sessions, or situations where you do not want to share SSH credentials at all.

How it works:

  1. Choose Safe Share → Web Terminal
  2. Enter the recipient’s email address
  3. Set the duration and security restrictions
  4. Local Panel sends the recipient a unique access code and a web terminal link
  5. The recipient opens the link in their browser, enters their email and the code
  6. They get a fully functional terminal session inside the browser — no SSH client required

What the recipient sees: A web page with a terminal. They type commands, run scripts, and inspect logs exactly as they would in a native terminal.

What you get: Zero credential exposure. The recipient never touches your server directly. The session is ephemeral.


Method 3: Share Code — Local Panel to Local Panel

Best for: Team members, other developers, or anyone who already uses Local Panel or Local Panel Lite.

How it works:

  1. Choose Safe Share → Share Code
  2. Local Panel generates a unique share code
  3. Send the code to another Local Panel user
  4. They enter the code in their app and connect directly to your server
  5. The connection expires automatically when the duration ends, and any active sessions are terminated

What the recipient sees: The server appears in their Local Panel sidebar, ready to manage with the same visual interface you use.

What you get: Seamless team collaboration with the same native desktop experience.


Security Controls: What You Can Restrict

Safe Share is not just about temporary access. It is about correctly scoped temporary access. Every method supports the following restrictions:

1. Starting Directory

Set the initial folder the recipient sees when they connect. For example, lock them into /var/www/client-site so they land there immediately. Note: this sets the starting directory — the user can still navigate elsewhere using cd unless you specifically block the cd command in Security Mode.

2. Welcome Banner

Display a custom message when the recipient connects (up to 500 characters). Use it for:

  • Legal disclaimers
  • Scope reminders (“You are authorised to restart Nginx only”)
  • Contact information

Note: Welcome Banner is available in Local Panel. In Local Panel Lite, this feature is not available.

3. Security Mode — Command and Permission Restrictions

This is where Safe Share moves from “convenient” to “enterprise-grade.”

RestrictionWhat It Does
Allowed sudo commandsWhitelist exactly which commands can run with sudo. For example: sudo systemctl restart nginx, sudo ufw status.
Blocked commandsBlacklist any command you want. Type ls and the user gets “Permission denied.” Type cd and it is blocked. Type rm and it is stopped.
SFTP read/write permissionsControl file transfer access. Read-only prevents the user from downloading files to their own machine via SFTP. Write-only prevents them from uploading files from their machine. Note: these restrictions apply to SFTP file transfers, not to shell-based file editing. If the user has shell access, they can still modify files using editors like Nano or Vim inside the terminal.

Example scenario: You hire a junior developer to fix a CSS bug. You give them:

  • Web Terminal access for 3 hours
  • Starting directory: /var/www/html
  • Blocked commands: rm, sudo, chmod, chown
  • SFTP: read-only

They can view files, edit CSS inside the terminal, and test changes. They cannot delete anything, escalate privileges, or download source files to their local machine. When the 3 hours expire, their access vanishes.


What You See as the Owner

Safe Share gives you a clear overview of active shares:

FeatureWhat You See
Remaining timeA live countdown showing exactly how much time is left on each share
Active sessionsWhich shares are currently in use
Auto-deletionWhen the timer hits zero, the user is deleted and all sessions are terminated automatically

Unlike complex enterprise setups, you do not need a separate logging infrastructure. Safe Share handles the lifecycle automatically.


Comparison Table: Temporary Access Tools at a Glance

FeaturePuTTYTermiusTeleportAWS SSMLocal Panel Safe Share
Setup time10+ min5 minHours30+ minUnder 30 seconds
Automatic expiry❌ Manual❌ No✅ Yes✅ Yes✅ Yes
No credential sharing❌ No❌ No✅ Yes✅ Yes✅ Yes
Web terminal❌ No❌ No✅ Yes✅ Yes✅ Yes
Command restrictions❌ Complex❌ No✅ Yes✅ Yes✅ Yes
SFTP controls❌ Manual❌ No✅ Yes✅ Yes✅ Yes
Agentless✅ Yes✅ Yes❌ No❌ Cloud only✅ Yes
Cross-platformWindowsAllLinux/CloudAWS onlymacOS/Win/Linux

Safe Share Availability

Local Panel (full version) includes all Safe Share features:

  • All durations: 1 hour, 3 hours, 1 day, 3 days, 1 week, 1 month, 3 months
  • Welcome Banner
  • Full Security Mode restrictions

Local Panel Lite (free version, available via Snapcraft on Linux) includes Safe Share with limited durations:

  • Available durations: 1 hour, 3 hours, 1 day, 3 days
  • Longer durations (1 week, 1 month, 3 months) require Local Panel
  • Welcome Banner is not available in Lite

When to Use Which Safe Share Method

SituationRecommended Method
Freelancer needs SSH for a dayLocal User — 1 day, restricted directory, blocked sudo
Client wants to check their logsWeb Terminal — 3 hours, read-only, no credentials shared
Team member needs to deploy a fixShare Code — 1 week, limited sudo commands
Emergency access for on-call engineerLocal User — 1 hour, full access, auto-destructs
Non-technical stakeholder needs to verify dataWeb Terminal — 1 hour, single directory, custom banner

Frequently Asked Questions

Can the recipient use their own SSH client with Safe Share?

Yes, if you use Method 1 (Local User). They receive standard SSH credentials and can connect via PuTTY, Terminal, or any SSH client. Methods 2 and 3 use Local Panel’s native interfaces.

What happens when the Safe Share time expires?

For all three methods, the temporary user is automatically deleted from the server and any active sessions are terminated immediately. No manual cleanup required.

Is Safe Share available in Local Panel Lite?

Yes, Safe Share is available in Local Panel Lite with limited duration options: 1 hour, 3 hours, 1 day, and 3 days. Longer durations (1 week, 1 month, 3 months) and the Welcome Banner feature require the full Local Panel.

Does Safe Share work on Linux?

Yes. Local Panel Lite is available via Snapcraft and supports Safe Share functionality.

Can I see what commands a temporary user ran?

Safe Share focuses on access control and automatic expiry rather than session recording. Command history is captured in standard server logs where available. For full session recording, you would need to pair Safe Share with your server’s existing logging infrastructure.

Can I block the user from changing directories?

You can set a Starting Directory, but the user can still cd elsewhere unless you specifically add cd to the Blocked Commands list in Security Mode.


Final Thoughts

Sharing server access does not have to mean sharing trust. The best SSH tools for temporary access are the ones that assume the user will eventually become a risk — and plan for it.

Safe Share treats every temporary access grant as a potential security event. It limits scope, sets hard deadlines, and cleans up after itself. Whether you are managing one server or fifty, giving access to a colleague or a client, the workflow is identical: open Local Panel, set the rules, share the access, and let it self-destruct.

No more forgotten user accounts. No more shared passwords. No more wondering who still has access.

Ready to secure your temporary access workflow?

Local Panel


Local Panel Lite