[ILUG] SSH

Paul Jakma paul at clubi.ie
Fri Jul 23 19:01:09 IST 2004


On Thu, 22 Jul 2004, bobb wrote:

> I found something cool (and a little scary) recently with the default
> completion script for bash, if you have ssh keys and agent and stuff
> setup between machines you can do something like ``scp machine:/foo/bar<TAB>''
> and it will automatically log in, get a directory listing, and complete
> to ``scp machine:/foo/bar.txt'' or whatever....

doesnt do so here..

it does completion on local file names though, so if you do:

$ whatever whatever:/<PATH><tab>

it will autocomplete based on the local filesystem, so if /<PATH> and 
whatever:/<PATH> match you might get the sense that bash was 
auto-logging into to remote machine and getting dir listing, but it 
isnt.

if yours is, wow.

> - bobb

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
Those lovable Brits department:
 	They also have trouble pronouncing `vitamin'.



More information about the ILUG mailing list