ericmore / SmartPutty

Multi-Tabbed PuTTY written in Java
https://github.com/ericmore/SmartPutty/releases/tag/1.0.0
40 stars 17 forks source link
intellij java putty putty-session splash vnc-viewer winscp

SmartPutty

SSH,SCP,SFTP,VNC remote to Linux Machine from Windows. SmartPutty for windows platform provides rock-solid terminal emulation for computing professionals, raising productivity with advanced session management and a host of ways to save time and streamline repetitive tasks. SmartPutty provides secure remote access, file transfer, VNC access, Microsoft Remote Desktop

Installing JDK version must be 8 and JDK version must lower than 1.8_202, latest JDK has bug when operation native OS call

Clone a copy of the repo:

git clone https://github.com/ericmore/SmartPutty.git

Change to the SmartPutty directory

cd SmartPutty

Build it

gradle build for win-64 bit jar

windows 64 bit OS - SmartPutty\build\distributions\SmartPutty-x64.zip

gradle -b build-x86.gradle build for win-32 bit jar

windows 32 bit OS - SmartPutty\build\distributions\SmartPutty-x32.zip

Run it

unzip the distribution cd into root folder(must root folder) from cmd

cd SmartPutty\build\distributions\SmartPutty-x64 java -jar SmartPutty-x64.jar

Database

SmartPutty store configuration in H2 database inside your home directory C:\Users\username\smartputty.db.mv.db You can delete the db if you want to reset, SmartPutty start up time will load default confg values into fresh DB

HomeScreen:

homescreen

User Guide (Demo): https://github.com/ericmore/SmartPutty/wiki

Development

Developer Guide (Intellij IDEA)VERSION

  1. Mark lib and libArch as Library(swt.x64 for 64bit dev machine, swt.x86 for 32bit dev machine)
  2. Database is using H2 file base, so the schema will be created first time in your local disk ~/smartputty.db

H2 Intellij Database Configuration h2

Issues

  1. if you confront below crash error when open putty, that is newer JDK bug, lower down the jdk minor version 1.8_202 earlier can fix it. I've tested jdk1.8.0_111 works well, but jdk1.8.0_261 will crash.

    A fatal error has been detected by the Java Runtime Environment: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffbeb286ca0, pid=5956, tid=0x0000000000003734 JRE version: Java(TM) SE Runtime Environment (8.0_261-b12) (build 1.8.0_261-b12)