SSHedit is a powerful tool that connects to your SSH server using a .pem
file or password authentication. It automatically copies the entire file structure to your local machine with the current date, ensuring version control and backups. Additionally, SSHedit runs a file watcher to update files on the server in real-time as you make changes locally.
- Automatic Version Control: Back up your files with date-stamped copies.
- Real-time Sync: Instantly reflect local changes on the remote server.
- Cross-Platform: Supports both Unix-based systems and Windows.
-
Run the script:
sudo ./ssheditV2.sh
-
Follow the GUI Prompts:
- SSH Host: Enter the IP address or hostname of the SSH server (e.g.,
3.23.253.5
). - Username: Enter the SSH username (e.g.,
ubuntu
). - .pem File: Choose the
.pem
file using the file chooser dialog. - Remote Path: Enter the remote file path (e.g.,
/home/ubuntu/
). - Code Editor: Enter the shortcode for your code editor (e.g.,
code
for VS Code,subl
for Sublime Text).
- SSH Host: Enter the IP address or hostname of the SSH server (e.g.,
-
Prepare PowerShell: Open PowerShell in administrative mode and run:
Set-ExecutionPolicy Unrestricted
-
Install 7-Zip: Ensure
7zip
or7z
is installed and available in your system's PATH. -
Run the Script: The steps are the same as Unix-based systems, but the SSH host and other properties must be provided through
winssheditConfig.json
.
Configure your SSH connection settings in the winssheditConfig.json
file for Windows.
{
"host": "3.23.253.5",
"username": "ubuntu",
"pem_file": "path/to/your/key.pem",
"remote_path": "/home/ubuntu/"
}
-
Clone the Repository:
git clone https://github.com/KTBsomen/sshedit.git cd sshedit
-
Run the Script: Follow the installation steps for your operating system.
-
Enjoy Seamless SSH Editing:
- Ensure you have the necessary permissions to execute scripts and access the SSH server.
- Verify that
7zip
or7z
is installed and in your PATH on Windows. - Check your network connection and SSH server accessibility.
We welcome contributions! Please read our Contributing Guidelines for more details.
This project is licensed under the MIT License. See the LICENSE file for more information.
Feel free to replace the placeholder URLs and images with actual resources. This version centers the project name and logo for a more polished look.