Function: cider--ssh-hosts

cider--ssh-hosts is a byte-compiled function defined in cider-endpoint.el.

Signature

(cider--ssh-hosts)

Documentation

Retrieve all ssh host from local configuration files.

Never signals: a Tramp hiccup here would otherwise abort the whole cider-connect flow before the first prompt.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-endpoint.el
(defun cider--ssh-hosts ()
  "Retrieve all ssh host from local configuration files.
Never signals: a Tramp hiccup here would otherwise abort the whole
`cider-connect' flow before the first prompt."
  (ignore-errors
    (seq-map (lambda (s) (list (replace-regexp-in-string ":$" "" s)))
             (let ((non-essential t))
               (tramp-completion-handle-file-name-all-completions "" "/ssh:")))))