Zsh Mailing List Archive
Messages sorted by:
- X-seq: zsh-users 2929
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Completion
- Date: Tue, 22 Feb 2000 16:01:28 +0100
- In-reply-to: <200002221447.PAA14598@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>; from wischnow@xxxxxxxxxxxxxxxxxxxxxxx on Tue, Feb 22, 2000 at 03:47:00PM +0100
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200002221447.PAA14598@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sven Wischnowsky wrote:
> > Say I press TAB after this:
> > $ scp foo me@bar:/usr/local/_
> > Then I would like to see the files and directories on the remote host "bar",
> > but what I see is the possible completions for my own host.
> Hm. Depending on what you think about us, you may think that we:
> 1) weren't sure if we should do that (and how: using `rsh ... ls' or
> zftp), because there may be systems without rsh (offering only
ssh falls back to rsh if there is no ssh on the remote host.
(if configured so)
> because you may need something like .rhosts for this to work,
> which is evil,
Not necessarily: public keys in .ssh/authorized_keys is the better
> because it can get pretty expensive, right?
True, but not as expensive as opening a new shell, ssh-ing to the remote
machine and looking for the right path/filenames manually. :-)
> 2) were just too lazy to implement that
I wouldn't call it lazy. I guess there were and are more important things
to do. And I wasn't saying that it is bad that zsh doesn't have this
functionality. I was just asking whether someone on the list has done this
already so that I don't have to start thinking myself. So who is lazy? :-)
>  This only really means that we should make it configurable: to use
> either rsh or zftp or not try remote-completion and so on...
Using ssh with its fallback-to-rsh-option should be enough. If that fails
a simple "remote host denies access" is sufficient, I would say.
>  Actually, I *had* thought about trying to do that, was slightly
> scared because of 2) and then forgot.
E-Mail: Andy@xxxxxxxxx URL: http://andy.spiegl.de
PGP/GPG: see headers
o _ _ _
--------- __o __o /\_ _ \\o (_)\__/o (_)
------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/
------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_
I don't feel we did wrong in taking this great country away from them.
There were great numbers of people who needed new land, and the Indians
were selfishly trying to keep it for themselves. (John Wayne)
Messages sorted by: