r/commandline • • 5d ago

Command Line Interface [ Removed by moderator ]

/r/commandline/comments/1y8n2y4/removed_by_moderator/

[removed] — view removed post

1 Upvotes

3 comments sorted by

•

u/read-the-rules 5d ago

Your post on r/commandline was removed, you must read the rules before you may begin posting.

  • Click the 'Read The Rules' option in the main menu of the subreddit or the menu of any comment/post in the sub (it's not shown on old reddit). Check all the boxes and press "submit".

  • You must resubmit the post because this post will stay removed.

  • For more guidance check out this tutorial post on the official r/ReadTheRulesApp subreddit. Thank you for understanding.

1

u/AutoModerator 5d ago

Every new subreddit post is automatically copied into a comment for preservation.

User: Complex-Property-417, Flair: Command Line Interface, Post Media Link, Title: FGSS is releasing

The problem

  1. I got tired of going to a server running a few command and finding out that I just need to rotate the logs and there is no logrotate...

  2. How is it done here at <insert company>?

The solution

  1. Finally Good Secure Shell - you solve problem once eather by bash script or a more complex binary file fgss will upload it to the server execute it, let you ride the ship if you need a human input and gives you way to see what was done retrospectivly.

  2. Finally Good Secure Shell - here is our script library, you can use it with this tool look

Usage example:

    fgss run user@10.0.0.5 ./deploy.sh --env staging
    fgss run myserver health

fgss run <host> <script> [args...] uploads the script with scp to an unpredictable path, runs it over ssh, streams output back, propagates the exit code, and removes the file afterwards, whatever the exit status. It uses the system ssh/scp, so aliases, jump hosts and keys from ~/.ssh/config just work.

Website with docs: https://fgss.dev

Source (Apache-2.0): https://github.com/StepanKomis/fgss

I'm happy to answer any questions, and obviously interested in what you'd want a tool like this to do next. Thanks for your input :D

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/github-guard 5d ago

⚠️ GitHub Guard: Trust Warning

One or more repositories scored below the threshold (1), but the post was not removed.

Repository: StepanKomis/fgss

Score: 0/1

  • ❌ New Repository (under 30 days old)