[colug-432] tab completion and SCP

Mike Plemmons mikeplemmons at gmail.com
Sun Aug 21 17:37:53 EDT 2016


It would only do tab completion if you use keys.  If it requires a
username/password to login it will fail.  It is a neat feature but it can
be confusing if you are not used it.

On Sun, Aug 21, 2016 at 5:00 PM, Rick Troth <rmt at casita.net> wrote:

> gotcha!
>
> Caught it in the act.
>
> Several weeks ago I thought I noticed this. Couldn't confirm it at the
> time, but just now saw it again and ... confirmed via /var/log/messages
> on the remote system.
>
>
> I suppose most of us have grown accustomed to tab completion, and tab
> completion has gotten so much "smarter" in recent years. Here's a nifty new
> one (for me): *SCP does remote tab completion.* (Or maybe some of you
> knew already.) It's extremely cool. It's also a little disconcerting. In
> this case, the remote system has a file /tmp/blahblah, so I do ...
>
>
> scp -p remote:/tmp/bla
> *<tab> . *
>
>
>  ... and the shell completes the *remote* filename just as if it was
> local. That's right, boys and girls, it spawns a remote shell to list the
> files there on the other system and then report back to your local shell.
> Spiffy.
>
>
> Thought y'all might like to know. Anyone else seen it?
>
>
> -- R; <><
>
>
>
>
>
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20160821/abdd4932/attachment.html 


More information about the colug-432 mailing list