Coder Social home page Coder Social logo

Comments (7)

MisterTea avatar MisterTea commented on May 24, 2024 1

You circumnavigated the right answer, but here's how to do it. This works for me (I run ET on port 8080):

et -s="-p 22 example.com" example.com:8080

What would make this easier? Maybe I should have people also put the 'ssh' in the beginning and provide an example in the help?

Would you be willing to edit this file and add some relevant documentation in a pull request once you get it working? https://github.com/MisterTea/EternalTCP/blob/master/launcher/et

Thanks!

from eternalterminal.

MisterTea avatar MisterTea commented on May 24, 2024

from eternalterminal.

mbtamuli avatar mbtamuli commented on May 24, 2024

Can you please describe how to do that? It doesn't seem to be documented. I tried reading the launcher to figure it out, but from what I could see, the et bash launcher sends the port specified at the end of the whole command to the. The :2222 at the end(As per line #79). I may be wrong.

I've tried the following commands.

$ et -s="[email protected]:2222" [email protected]
ssh: Could not resolve hostname example.com:2222: Name or service not known
SSH handshake failed.
$ et -s="ssh -p 2222 [email protected]" [email protected]
ssh: Could not resolve hostname ssh: Name or service not known
SSH handshake failed.
$ et -s="ssh -p 2222" [email protected]
ssh: Could not resolve hostname ssh: Name or service not known
SSH handshake failed.
$ et -s="-p 2222" [email protected]
ssh: Could not resolve hostname /bin/bash: Name or service not known
SSH handshake failed.
$ et -s="2222" [email protected]
ssh: connect to host 2222 port 22: Invalid argument
SSH handshake failed.

from eternalterminal.

mbtamuli avatar mbtamuli commented on May 24, 2024

I was thinking about an example being added in the Usage Section. Tell me if you still want inline documentation in https://github.com/MisterTea/EternalTCP/blob/master/launcher/et

from eternalterminal.

MisterTea avatar MisterTea commented on May 24, 2024

That's a good idea. Here's what you need to edit to change the usage section: https://github.com/MisterTea/EternalTCP/blob/gh-pages/usermanual.md

I think an example in the launcher help would be good as well. Thanks a lot!

from eternalterminal.

mbtamuli avatar mbtamuli commented on May 24, 2024

@MisterTea If you want the examples to be worded differently, do tell.

from eternalterminal.

MisterTea avatar MisterTea commented on May 24, 2024

Thanks!!!

from eternalterminal.

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.