Giter Site home page Giter Site logo

Comments (3)

JSmith-Aura avatar JSmith-Aura commented on May 28, 2024

Hi there!

Thanks so much for your work. I just have a few comments/questions to make before addressing your questions.

This will only work if the user uses the server console rather than the preferred method of jump host (-J) and it wouldnt be possible to record the jump host sessions as it uses the typical ssh method of direct-tcp.

Do you think this is still useful?

Additionally, whats to stop you using ascii-cinema to just record the terminal as you're using rssh? Why does this have to be part of the functionality of rssh?

  1. Storage Location: Where should recorded sessions be stored?
    The only place they could be stored is on the server, I'd recommend just putting them within a seperate folder within the data directory, call it recordings just make sure people can path traversal it

  2. I think it would be best to allow this. But how we should do it is by having the record function have a --read flag that dumps the file to stdout if the current connection is not a server console.

This means a user can use the ssh exec handler to do something like this:

ssh your.rssh.server record --read your.recording.date > file
  1. This is definitely outside outside the scope of reverse ssh, it's a bit of a debate whether recording should be part of rssh at all. I just want this project to effectively be something people build off, not a collection of every functionality.

from reverse_ssh.

eos175 avatar eos175 commented on May 28, 2024

Hello,

Yes, this will only work if the user uses the server console using the --record <filename> flag.

I acknowledge the redundancy of this feature, as asciinema can always be initiated on the host, and then the file can be downloaded...

The only advantage would be on windows, where it's a bit more complicated, and also that the recording occurs on the server and not on the client. However, adding it would slightly divert the project's focus.

from reverse_ssh.

NHAS avatar NHAS commented on May 28, 2024

Hi! Unfortunately after giving it a bit more of a think, I think this is outside the scope of the project.

Thank you so much for your work though, and please contribute to RSSH in the future!

from reverse_ssh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.