Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When using an interactive logon on a CentOS 6 server, using the arrow keys shows these characters: ^[[A ^[[B ^[[C ^[[D However when I log in using SSH, I can use the arrow keys as per normal. What could the problem be and how can I troubleshoot it?

share|improve this question
Do you mean you use arrow keys in vim editor? – quanta Jun 8 '12 at 3:52
I mean wheen i use arrows key in terminal, wheen linux is logged i login as root and there problem starts to happend. – Cameleon Jun 8 '12 at 17:57
I suspect that you're not using the bash shell, maybe: zsh or ksh. Show us the output of ps -p $$ or echo $SHELL? – quanta Jun 9 '12 at 1:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.