Skip to content

cider-jack-in on TRAMP buffer always tries SSH connection with port 22 #2822

@xorgy

Description

@xorgy

Expected behavior

It should attempt the nREPL SSH tunnel on the port used to connect to the TRAMP buffer, rather than the default port.

Actual behavior

Regardless of what SSH port you've used to connect to your TRAMP buffer, cider will attempt to tunnel the nREPL through SSH on port 22.

Steps to reproduce the problem

  1. Open a TRAMP buffer with ssh through a port other than 22.
  2. M-xcider-jack-in

Environment & Version information

CIDER version information

;; CIDER 0.25.0snapshot (package: 20200303.1131), nREPL 0.6.0
;; Clojure 1.10.1, Java 1.8.0_242

Emacs version

GNU Emacs 26.3

Operating system

Arch Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions