zsh-workers
 help / color / Atom feed
From: dana <dana@dana.is>
To: Bruno Bazille <bruno@bazille.fr>
Cc: zsh-workers@zsh.org
Subject: Re: ssh completion on Catalina
Date: Wed, 23 Oct 2019 04:36:01 -0500
Message-ID: <9D79F715-1AC2-42C9-B29D-3D26693F44B9@dana.is> (raw)
In-Reply-To: <63A6095E-6195-48B3-A126-A965304B4517@bazille.fr>

On 21 Oct 2019, at 02:41, Bruno Bazille <bruno@bazille.fr> wrote:
> I installed the last macOS version : 10.15
> I’m using iTerm2
> brew upgrade has been performed

Were you previously on Mojave, and it worked there? Do you know what version
of zsh you were using there, and which one you're using on Catalina? And you
didn't change anything else about your zsh or SSH configuration?

On 21 Oct 2019, at 02:41, Bruno Bazille <bruno@bazille.fr> wrote:
> When I want to connect one of my server here below the completion issue :
> The server name I want to reach is vmbar (note all my server names start by vm)
>
> %> ssh bar<tab>
> ==> completion seems blocked

This will probably be weird because it's getting stuck in a loop, but you can
try this. First, run the following:

  bindkey '^x?' _complete_debug

Then, enter the problematic command to complete like you were doing before,
but instead of pressing Tab, press Ctrl+X followed immediately by ? (question
mark).

After it gets stuck, give it a second or two, then press Ctrl+C again to abort
it. It should dump a trace file, but since you cancelled it you'll have to
find it yourself. Try:

  ls $TMPPREFIX*(.)

Hopefully there'll be a file like zsh1234ssh1. If so, review it for any
sensitive information (since it's SSH hosts it may contain servers/IPs),
censor if necessary, and then attach the file here

dana


  reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-21  7:41 Bruno Bazille
2019-10-23  9:36 ` dana [this message]
2019-10-31 13:53   ` Bruno Bazille
2019-10-31 14:01     ` Bruno Bazille
2019-10-31 23:30       ` dana

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9D79F715-1AC2-42C9-B29D-3D26693F44B9@dana.is \
    --to=dana@dana.is \
    --cc=bruno@bazille.fr \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

zsh-workers

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git