frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Execute local prompts in SSH remote shells

https://docs.promptcmd.sh/integrations/ssh
7•tgalal•1h ago
Instead of giving LLM tools SSH access or installing them on a server, the following command:

  $ promptctl ssh user@server
makes a set of locally defined prompts "magically" appear within the remote shell as executable command line programs.

For example, I have locally defined prompts for `llm-analyze-config` and `askai`. Then on (any) remote host I can:

  $ promptctl ssh user@host 
  # Now on remote host
  $ llm-analyze-config /etc/nginx.conf
  $ cat docker-compose.yml | askai "add a load balancer"
the prompts behind `llm-analyze-config` and `askai` execute on my local computer (even though they're invoked remotely) via the llm of my choosing.

This way LLM tools are never granted SSH access to the server, and nothing needs to be installed to the server. In fact, the server does not even need outbound internet connections to be enabled.

Github: https://github.com/tgalal/promptcmd/

Comments

lousyclicker•1h ago
That's a cool trick, but piping potentially sensitive server data back to your local machine snd through an external llm API kind of defeats the purpose of "never granting SSH" access. Also curious about latency.
tgalal•1h ago
The point is to avoid installing tools or granting LLM access and the "steering wheel" on the server itself. The data you pipe is the same data you'd copy-paste into ChatGPT or similars anyway. There is certainly bit of latency when piping/reading a lot of of data into the context, as everything is tunneled through the local machine, but I'd argue that the context size being limited by the llm itself makes it acceptable for most use cases.

How to Design Antibodies

https://press.asimov.com/articles/antibody-design
1•mailyk•1m ago•0 comments

Extend Protobuf/FlatBuffers Schema IDL with Shared/Circular Reference Support

https://fory.apache.org/blog/extend_protobuf_flatbuffers_with_shared_circular_refs/
1•chaokunyang•1m ago•3 comments

Code Canary: Realtime Reporting of Coding Agent Performance

https://fredbenenson.com/blog/2026/03/11/introducing-code-canary/
1•mecredis•2m ago•0 comments

Designing AI Chip Hardware and Software

https://docs.google.com/document/d/1dZ3vF8GE8_gx6tl52sOaUVEPq0ybmai1xvu3uk89_is/view
1•matt_d•3m ago•0 comments

Pro-Worker AI

https://www.brookings.edu/articles/building-pro-worker-ai/
1•Cerchie•4m ago•0 comments

Client-Side AI React Hooks Powered by Transformers.js and Web Workers

https://github.com/baskvava/react-zero-ai
1•baskvava•4m ago•1 comments

Brazilian Age-Verification Law: I Posit It Does Not Apply to Open-Source OSes

https://www.planalto.gov.br/ccivil_03/_ato2023-2026/2025/Lei/L15211.htm
1•replooda•6m ago•1 comments

Programmable Property-Based Testing

https://arxiv.org/abs/2602.18545
1•PaulHoule•6m ago•0 comments

Yahoo Introduces MyScout, the First Personalized Homepage for AI Answers

https://www.yahooinc.com/press/yahoo-introduces-myscout-the-first-personalized-homepage-for-ai-an...
1•drtz•7m ago•0 comments

I paired NotebookLM with Claude Code, and it feels like a dream team

https://www.xda-developers.com/paired-notebooklm-with-claude-code/
1•speckx•8m ago•0 comments

Replit raises $400M at $9B valuation

https://techfundingnews.com/replit-raises-400m-9b-valuation-ai-app-building/
2•exizt88•8m ago•0 comments

Tcl's Nxtpaper 4.0 screen: A review

https://manualdousuario.net/en/tcl-nxtpaper-4/
1•rpgbr•9m ago•0 comments

Sam Altman says OpenAI will tweak its Pentagon deal after surveillance backlash

https://www.businessinsider.com/openai-amending-contract-with-pentagon-amid-backlash-mass-surveil...
1•doener•10m ago•2 comments

YouTube just approved 30-second unskippable ads for TV

https://www.androidcentral.com/apps-software/youtube/youtube-on-tv-30-seconds-unskippable-ads
1•LorenDB•11m ago•0 comments

Goldman executive says private markets clients glad about Iran war 'distraction'

https://www.ft.com/content/9232dbce-0255-4949-8c4c-ea58d86a4166
1•alephnerd•11m ago•0 comments

Most AI chatbots will help users plan violent attacks, study finds

https://www.engadget.com/ai/most-ai-chatbots-will-help-users-plan-violent-attacks-study-finds-163...
1•mikece•12m ago•0 comments

ChatGPT Took The Pentagon's Killer Robot Deal: Boycott Now

https://quitgpt.org/pentagon?link_id=2&can_id=3b2cebf422aaa35898d6d8ce17355809&source=email-week-...
2•doener•12m ago•0 comments

The Web Is a Guitar Amp Now (Literally)

https://www.silverorange.com/blog/the-web-is-guitar-amp
2•speckx•12m ago•0 comments

The Bay Area Considers the Unthinkable: Life Without BART

https://www.nytimes.com/2026/03/10/us/bart-bay-area-san-francisco-transit.html
1•radley•12m ago•0 comments

ChatGPT Uninstalls Skyrocket

https://twitter.com/SensorTower/status/2029250034772963513
1•doener•13m ago•0 comments

Show HN: AgentSign – Zero trust for AI agents (OWASP-aligned)

https://agentsign.dev
1•AskCarX•13m ago•0 comments

Testers Still Needed?

1•AtulThakor333•13m ago•1 comments

Vectorless RAG Using Neo4j and Agentic Routing

https://github.com/TejasS1233/vectorless_RAG
1•Tejas1233•14m ago•0 comments

Ask HN: Does AI make your product better?

1•brodouevencode•14m ago•0 comments

Tilly Norwood music video is so bad; AI won't be putting actors out of work

https://www.latimes.com/entertainment-arts/story/2026-03-11/tilly-music-video-bad-ai-actors-out-o...
1•jaredwiener•14m ago•1 comments

AI Paranoia: A Conspiracy of Incentives

https://www.jernesto.com/articles/ai_paranoia
2•ponzusouce•14m ago•1 comments

Space Jellyfish Predictor

https://jellyfish.johnkrausphotos.com/
2•LorenDB•15m ago•0 comments

Show HN: Vanilla JavaScript refinery simulator built to explain job to my kids

https://fuelingcuriosity.com/game.html
8•fuelingcurious•16m ago•1 comments

Redgifs Downloader

https://redgifsdownloader.cc/
1•amazingrobin•18m ago•1 comments

Fungal Electronics

https://arxiv.org/abs/2111.11231
2•byt3h3ad•20m ago•1 comments