hpello / sshmon Goto Github PK
View Code? Open in Web Editor NEWManage and monitor SSH connections.
License: MIT License
Manage and monitor SSH connections.
License: MIT License
Upon attempting to execute the latest release on my laptop, I get this:
$ ./sshmon-linux-x64-v0.4.0.tar.gz
bash: ./sshmon-linux-x64-v0.4.0.tar.gz: cannot execute binary file: Exec format error
uname -a
: Linux Riikaan 4.13.0-41-generic #46-Ubuntu SMP Wed May 2 13:38:30 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I have successfully used sshmon on several machines (it's amazing!). On a new machine, after configuring a host and hitting connect, the GUI reports "connecting" and gets stuck there. The following is written to the console. The temp files are there in /tmp.
[2020-01-22T22:11:55.757Z] DEBUG: sshmon/7298 on hubble: register socket 2f_v_ftfAnSJrydkAAAB (scope=api/socket-notify)
[2020-01-22T22:12:07.620Z] DEBUG: sshmon/7298 on hubble: ssh -N -T -M -o ControlPersist=no -o BatchMode=yes -o StreamLocalBindUnlink=yes -o ServerAliveInterval=5 -o ServerAliveCountMax=3 -S /tmp/sshmon-7298wQE0Ol2Rrm5x/1 predator (scope=host/ssh, childPid=7794)
[2020-01-22T22:12:07.620Z] DEBUG: sshmon/7298 on hubble: (scope=redux)
action: {
"type": "HOST_STATE_CHANGE",
"id": "predator",
"status": "connecting",
"pid": 7794,
"controlPath": "/tmp/sshmon-7298wQE0Ol2Rrm5x/1",
"reason": "api"
}
[2020-01-22T22:12:07.622Z] INFO: sshmon/7298 on hubble: api call success (scope=api/socket-setup)
apiCall: {
"key": "hostConnect",
"args": {
"id": "predator"
}
}
[2020-01-22T22:12:07.624Z] ERROR: sshmon/7298 on hubble: watcher error (scope=host/thunks/connect-thunks, err.code=ENOSPC)
Error: watch /tmp/sshmon-7298wQE0Ol2Rrm5x ENOSPC
at _errnoException (util.js:1031:13)
at FSWatcher.start (fs.js:1397:19)
at Object.fs.watch (fs.js:1423:11)
at createFsWatchInstance (/snapshot/sshmon/server/node_modules/chokidar/lib/nodefs-handler.js:37:15)
at setFsWatchListener (/snapshot/sshmon/server/node_modules/chokidar/lib/nodefs-handler.js:80:15)
at FSWatcher.NodeFsHandler._watchWithNodeFs (/snapshot/sshmon/server/node_modules/chokidar/lib/nodefs-handler.js:229:14)
at FSWatcher.NodeFsHandler._handleDir (/snapshot/sshmon/server/node_modules/chokidar/lib/nodefs-handler.js:408:19)
at FSWatcher.<anonymous> (/snapshot/sshmon/server/node_modules/chokidar/lib/nodefs-handler.js:456:19)
at FSWatcher.<anonymous> (/snapshot/sshmon/server/node_modules/chokidar/lib/nodefs-handler.js:461:16)
at FSReqWrap.oncomplete (fs.js:167:5)
On linux, sshmon creates the ~/.sshmon
directory. I've got far too many dot-directories in my home folder, so could this directory be configurable? I'd like it to be ~/.config/sshmon
(the ~/.config
directory is where per-user configuration files should go on Linux).
I'd suggest an environment variable. Maybe SSHMON_HOME
or SSMON_DIR
?
能不能增加一个小的登录功能。登录成功之后才能看到管理界面。虽不是特需要安全的东西,但也想不让任何人都可以看到,谢谢
Hey there,
I just wanted to compliment you on the project. It's great, and it works on Bash on Windows 10's WSL too!
This is extremely convenient for managing my home network: I can just connect to my gateway server from anywhere in the world and then easily start tunnels to all my internal home servers.
Thank you for making this!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.