A command-line tool to manage SSH tunnels and local forwarding.
- Linux or macOS system
- Run the following command to install the utility from the binary:
curl -fsSL https://github.com/ravindra887/localforward/raw/main/install.sh | bash
Run the script using:
localforward <command> [options]localforward ssh-profile <profile_name>Sets the default SSH profile.
localforward add <host>Adds a new host for forwarding.
localforward start [profile_name]Starts an SSH tunnel using the specified profile. If no profile is provided, the default profile is used.
localforward logsDisplays SSH tunnel logs.
localforward stopStops the running SSH tunnel.
localforward helpDisplays help information about the available commands.
This project is licensed under the MIT License.
Feel free to submit pull requests or open issues for improvements!