PitchHut logo
Slosh
by comprehensive_gray_joleen
Effortlessly manage and save your SSH connections.
Pitch

Slosh streamlines the process of managing SSH connections by automatically saving them to your SSH config file. No more manual edits or forgotten setups; just connect and let Slosh handle the details. Perfect for developers looking to simplify their SSH workflow.

Description

Slosh is a powerful tool designed to streamline the management of SSH connections. It automatically saves configurations to your SSH config file (~/.ssh/config) as connections are made, eliminating the need for manual edits. Slosh not only simplifies the process of saving a new SSH connection but also enables users to update existing connection details effortlessly, such as modifying usernames or enabling data compression.

Key Features

  • Automatic Saving: As SSH connections are established, Slosh records the details to the SSH config file, ensuring a hassle-free experience.
  • Easy Updates: Modify your saved connections without the need to manually access the config file; simply use the --save-as option to change details of existing connections.

Usage Examples

Slosh operates as a direct pass-through to the ssh command, allowing users to run SSH commands seamlessly. For instance:

$ slosh -i ~/.ssh/mykey.pem ubuntu@1.1.1.1

To save a new connection, append --save-as <host alias> to the command:

$ slosh -i ~/.ssh/mykey.pem --save-as myserver ubuntu@1.1.1.1

This allows users to reference the connection with slosh myserver or ssh myserver in future sessions.

Updating a connection is just as straightforward. For example, to modify the username and add compression:

$ slosh -i ~/.ssh/mykey.pem -C --save-as myserver ubuntu@1.1.1.1

Supported Options

Slosh captures several key ssh options and incorporates them into the configuration:

  • -l <user>: Specify the username for the connection.
  • -p <port>: Define the port number for the connection.
  • -i <identity file>: Indicate the path to your private key file.
  • -A: Enable authentication agent connection forwarding.
  • -C: Request data compression.
  • -v: Increase verbosity, with up to three levels of detail available (-vvv).

For more in-depth information on SSH options, refer to the SSH Manual Page.

Utilize Slosh to simplify your SSH workflows, enhance efficiency, and maintain organized SSH connection management.

0 comments

No comments yet.

Sign in to be the first to comment.