ขั้นแรกให้รันคำสั่ง:

sudo vi /etc/bash.bashrc

มองหาบรรทัดเหล่านี้:

# enable bash completion in interactive shells
# if ! shopt -oq posix; then
#  if [ -f /usr/share/bash-completion/bash_completion ]; then
#    . /usr/share/bash-completion/bash_completion
#  elif [ -f /etc/bash_completion ]; then
#    . /etc/bash_completion
#  fi
# fi

ยกเลิกหมายเหตุบางบรรทัดเพื่อให้มีลักษณะดังนี้:

# enable bash completion in interactive shells
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

บันทึกและรีสตาร์ทเซิร์ฟเวอร์ ssh

ที่มา: https://superuser.com/questions/119157/how-can-i-use-tab-completion-in-putty-connecting-to-a-ubuntu-server