Skip to content

ravindra887/localforward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Forwarding Utility

A command-line tool to manage SSH tunnels and local forwarding.

Installation

Prerequisites

  • Linux or macOS system

Steps

  1. Run the following command to install the utility from the binary:
    curl -fsSL https://github.com/ravindra887/localforward/raw/main/install.sh | bash

Usage

Run the script using:

localforward <command> [options]

Commands

1. Set Default SSH Profile

localforward ssh-profile <profile_name>

Sets the default SSH profile.

2. Add a New Host

localforward add <host>

Adds a new host for forwarding.

3. Start SSH Tunnel

localforward start [profile_name]

Starts an SSH tunnel using the specified profile. If no profile is provided, the default profile is used.

4. Show SSH Tunnel Logs

localforward logs

Displays SSH tunnel logs.

5. Stop SSH Tunnel

localforward stop

Stops the running SSH tunnel.

6. Show Help Information

localforward help

Displays help information about the available commands.

License

This project is licensed under the MIT License.

Contributing

Feel free to submit pull requests or open issues for improvements!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors