Ssh – Why do some ssh sessions offer autocomplete and some not

sshterminal

Very newbie question!

I'm sshing to two different servers, both part of the same Amazon AWS cluster. They're not run by me.

On one ssh session, the terminal lets me autocomplete. On the other session, it doesn't – I wish it did.

Why is this – is it an option set by the server administrator?

And can I do anything about it?

thanks!

Best Answer

This isn't really a programming question, but it has to do with your shell. You can try starting the bash shell (by typing bash at the prompt) and see if you can autocomplete.

If that works you can use which bash to verify it's location and then chsh -s /bin/bash to set your shell permanently.

A list of available shells can also be found in /etc/shells.

Related Topic