This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new!

Complete remote files

Posted by: Anonymous Coward on May 09, 2006 04:47 AM
Here's another great tip:
If you set up RSA authentication for SSH you can even auto-complete files on remote machines!

$ cp index.html webserver:/va[tab]w[tab]lo[tab]ht[tab]

(assuming webroot in webserver:/var/www/localhost/htdocs)

At least this works fine in Gentoo.


Return to CLI Magic: Bash complete