[ILUG] SSH

bobb bobb at redbrick.dcu.ie
Thu Jul 22 13:25:29 IST 2004


Dave Airlie hath declared on Thursday the 22 day of July 2004  :-:
 
> something like this should be possible now with ssh and a kernel
> filesystem, some sort of /ssh/machine2/ and it would use your keys and
> username etc to connect also of course this is no use until it is used
> everywhere and we ask how we survived for so long without it!!!
 
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....

- bobb

-- 
Mr. Rogers could explain shoe-tying and make it seem like the coolest 
thing in the world. He was our Uncle and older brother. He told us we 
were special, and we knew he'd be there for us.
A cult leader, right down to the sneakers.



More information about the ILUG mailing list