- Secure Password Handling: Passwords are now handled securely by working directly with the character array returned by
getPassword()
. This enhances the overall security of the application.
- Enhanced Input Validation: Improved input validation ensures that users provide valid information for hostname, username, and password. This helps prevent issues related to missing or incorrect input.
- Connection Status Indicators: Visual indicators have been added to display the current connection status (connected/disconnected). The connection status label dynamically updates its color based on the connection state, providing a clear visual cue to users.
- UI Enhancements: The user interface has been enhanced with a clear layout for input fields, buttons, and the output area. This improves the overall user experience and makes the application more user-friendly.
SecurePiShell is a Java application that provides a graphical user interface for connecting to a Raspberry Pi using SSH.
- Securely connect to a Raspberry Pi using SSH
- Execute custom commands remotely
- Dark theme for improved visibility
- J2SE (version 1.4.0 or later)
- jsch library (version 0.1.55)
-
Clone the repository:
git clone https://github.com/selzlett/sshSecure-Pi-Shell.git
-
Navigate to the project directory:
cd ssh-connector-gui
-
Compile and run the application:
javac -cp .:jsch-0.1.55.jar SSHConnectorApp.java java -cp .:jsch-0.1.55.jar SSHConnectorApp
- Enter the host, username, and password.
- Click the "Connect" button to establish an SSH connection.
- Enter a custom command in the "Command" field.
- Click the "Execute" button to run the command remotely.
This project is licensed under the GNU General Public License - see the LICENSE.txt file for details.