Giter Club home page Giter Club logo

Comments (3)

hackerb9 avatar hackerb9 commented on August 25, 2024 1

Good point about the having to install something on the remote server. It turns out you can use the original Kermit as exactly the lightweight binary that you are looking for that handles the transfers and nothing else. On my system, Debian GNU/Linux 11, I did this:

$ sudo apt install gkermit
$ ls -l /usr/bin/gkermit
-rwxr-xr-x 1 root root 40856 Dec 18  2016 /usr/bin/gkermit

Yes, you read the right: the binary is 40 kilobytes. The only dependency, if you can call it that, is on the standard C library.

The Kermit Project updated gkermit recently to version 2.00 so it compiles cleanly on any modern UNIX system.

To add the Kermit protocol to your Kermit, the Kermit Project offers embedable C code that provides two functions, one for sending and one for receiving.

from kermit.

orhun avatar orhun commented on August 25, 2024 1

Surely an interesting idea! I will probably look into it in more detail when I have more time to work on this project.

from kermit.

orhun avatar orhun commented on August 25, 2024

Hello! Sorry for the late reply. It seems like this is project is pretty low on my priority list although I use it on a daily basis 😄

it would be nice if this new Kermit made a nod to the old.

I totally agree 🐸

For example, it would be cool if it could handle file transfers, which was the primary use of Kermit. For example, if a person using your terminal program sshes from machine to machine and then realizes there's a file they want to send from that remote server to their local computer, they could just run:

$ kermit -s foo

and, hey presto, via the magic of Kermit, foo is now on their computer. (The kermit command in this example is available on most Unix systems when you install the ckermit package).

What do you think?

It sounds like a good use-case for kermit. However, I should probably look into the actual kermit and its implementation details before doing something like this. Also for this specific example, the user also needs to install kermit on the remote server which might need a bunch of heavy packages like gtk3 and such. Maybe this can be solved with a lightweight binary that just runs as a "middle man" and handles the transfers?

from kermit.

Related Issues (17)

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.