LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] SSH

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell