Is there any way to get tab completion to work in an SCP command if the target machine is behind a password? Working in Terminal on OSX.

link|improve this question

feedback

1 Answer

up vote 4 down vote accepted

yes, you have to work with ssh-keys instead of password-login. see

to learn about how to do this. then for example my zsh is able to complete the filenames on the remote host (othewise i would have to enter my password each time i press <tab>). for bash i assume you can install 'bash-completion' somehow, maybe 'this' posts help.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.