I have two machines, laptop and server. Both of them source /etc/bash_completion in .bashrc.
What works:
server$ scp file laptop:~/stage/[tab][tab] server$ scp laptop:~/stage/[tab][tab] . server$ rsync -r folder laptop:~/stage/[tab][tab] What doesn't work
laptop$ scp file server:/data/[tab][tab] laptop$ scp server:/data/[tab][tab] . laptop$ rsync -r folder server:/data/[tab][tab] The laptop is running ubuntu 16.04 and the server is running 18.04.
server
rsync version 3.1.2
scp/ssh don't take --version
laptop
rsync version 3.1.1
scp/ssh don't take --version
Both machines have the other's public key, and ssh (as well as actual rsync/scp transfers) work without password. Clearly everything is set up as it works one way, but I can't figure out what would be causing it to fail in the other direction?
/usr/share/doc/bash-completion/changelog.Debian.gzfile, I have 1:2.1-4.3 for the one that completes but only 1:2.0-1 for the one that doesn't. If you get a similar difference it may simply be that the newer version completes more accurately./etc/bash_completiondoesn't exist either - I'm missing a package. What do I have to install on the laptop?