Skip to content

SSH on another port? #10

Closed
Closed

Description

@tiktuk

How do I tell et that I have my ssh server on another port?

Activity

  1. MisterTea commented on Mar 3, 2017

    @MisterTea
    Owner

    The -s parameter should let you do this:

    For example, if ssh is on port 1234 and you have port 5678 open for ET:

    et -s=myhost:1234 myhost:5678
    
  2. tiktuk commented on Mar 3, 2017

    @tiktuk
    ContributorAuthor

    I tried that but I get

    et -s <host>:<port> <host>
    Pseudo-terminal will not be allocated because stdin is not a terminal.
    ssh: connect to host <host> port 22: Connection refused
    Unless you are doing development on Eternal Terminal,
    please do not call etclient directly.
    

    (With proper values for host and port of course.)

    It still tries to connect on port 22 even though another port is specified.

  3. MisterTea commented on Mar 3, 2017

    @MisterTea
    Owner

    Ok this is fixed in cc568f7

    The correct usage with that fix is now this:

    et -s="-p 1234 myhost" myhost:5678
    

    Please make the change to your launcher (or use the latest master) and let me know if it works.

  4. tiktuk commented on Mar 3, 2017

    @tiktuk
    ContributorAuthor

    Ok, thanks, it works ☺️ !

    And it works correctly with iTerm2 and its tmux integration it seems, so cool! (mosh doesn't). This looks like a killer program, thank you 😄!

  5. MisterTea commented on Mar 3, 2017

    @MisterTea
    Owner

    Thanks! Glad you like it :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions