Skip to content

fuchengjie/WebSSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Since the original author hadn't updated the project in over two years and hadn't solved the issues and pr, I forked one myself and optimized the front-end interface.

README.md

Currently added features are:

  • Front-end login page
  • Terminal display optimization
  • File transfer function. By default, the file is transferred to the /tmp directory. Later, you can transfer the file to a home directory or a custom directory
  • Test the connection function
  • Public key login, due to jsch version issues, If your id_rsa starts with "-----BEGIN OPENSSH PRIVATE KEY-----", run the command 'ssh-keygen -p -f < privateKeyFile> -m pem 'Converts the format

The feature

  • cross platform
  • browser-in
  • Support for uploading files (transform file)

picture

login image

terminal image

Symptom When the host cannot be connected, an error message is displayed on the login page image

Technical architecture diagram image Problems solved:

  1. The WebSocket connection between the browser and SpringBoot obtains the server address through the interface instead of being written to 127.0.0.1, so that at least multiple browsers can access the server on the same LAN. On the public network effect, I did not test, there are conditions can try.

Welcome issues and pr (No promise to do it), welcome everyone to participate in the project











About

WebSSH based on springboot+xterm.js+Jsch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published