Comments (10)
You're going to think Im an idiot. But that never even crossed my mind. Yes of course I can add that and am annoyed at myself for not doing so earlier.
from reverse_ssh.
Thanks, looking forward to your new release! Because this function is needed in the project I develop!
from reverse_ssh.
This is now on the unstable branch please check it out and then I'll do a release.
from reverse_ssh.
Example format:
catcher$ ls
834f090292ef057a662ce7d4db672ffc7b1b2fe7 26efe5d48d08c519362e62ad7899e21a030b2179 nhas.test-machine 10.0.0.14:34648, version: SSH-v1.0.14-3-g99d7ed8 arch: linux_amd64
from reverse_ssh.
The operating system information exists in ls, but it is not added in webhook.
from reverse_ssh.
Oops yep totally forgot to do that. Sorry!
from reverse_ssh.
Sweet, I've added it to the ClientVersion in ssh. Which is a bit more robust than what I was doing before. Does mean that you'll have to parse the version string which is now in the following format:
# <SSH-> <git tag> <arch>
SSH-v1.0.14-4-g411921e-linux_amd64
E.g
catcher$ ls
b9353e57f542e76ff144989edb951fa08e9d8bf7 4b1d7bf85c633b3bb2c14be5554456745318887a nhas.test-machine 10.0.0.14:45712, version: SSH-v1.0.14-4-g411921e-linux_amd64
Webhook:
{"Full":"{\"Status\":\"connected\",\"ID\":\"5c75978a7418f40c38f215c95bf4a551cf5318f9\",\"IP\":\"10.0.0.14:48192\",\"HostName\":\"nhas.dkowhan\",\"Version\":\"SSH-v1.0.14-4-g411921e-linux_amd64\",\"Timestamp\":\"2023-02-23T08:03:55.158264245+13:00\"}","text":"nhas.dkowhan (5c75978a7418f40c38f215c95bf4a551cf5318f9) SSH-v1.0.14-4-g411921e-linux_amd64 connected"}
from reverse_ssh.
Nice! Thanks! If there are no other problems, it can be merged into the mainline branch.
from reverse_ssh.
Sorry, it just occurred to me, if it's convenient:
- In the
webhook
, separate the user name of the client from the host name, and add a new user name field. - Increase the connection time of the client in
ls
.
from reverse_ssh.
Adding the seperate fields for username and hostname is a bit of a pain to be honest with you. I'd prefer to leave then as is, it's fairly easy to split it by the first dot.
I'm not sure what you mean by increase connection time with ls.
from reverse_ssh.
Related Issues (20)
- Jumphost not respecting server connection HOT 3
- link issue HOT 2
- garble amd64 HOT 3
- Please help. cannot load golang.org/x/sys/windows/svc/eventlog HOT 1
- Auto reconnect fails HOT 6
- Version cannot be checked HOT 9
- About HTTP_PROXY HTTPS_PROXY VARIABLES HOT 3
- [Question] Client key compiled in binary? HOT 2
- Customization of client process name HOT 5
- installation problem HOT 3
- installation problem HOT 2
- macOS - exec request failed on channel 1 HOT 7
- 大小 HOT 5
- How can I use golang to connect to the target server? HOT 1
- Help please with the garble HOT 2
- About authorized keys HOT 4
- Failure when trying to ssh into RSSH server HOT 10
- sftp upload file problem HOT 5
- service for .dll HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reverse_ssh.