Incorrect characters, when pressing keys(up,down,left,right) on the console
Sample:
From the root with keyup
root@pc~# previous command From user with keyup
$ ^[[A
From user with keys(up,down,left,right)
$ ^[[A^[[B^[[D^[[C How to fix this? VPS - Ubintu 12.04 server.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Since no one answered with the solution here it is:
Apparently when you create new user using useradd and you don’t pass -s /bin/bash new user has some weird shell…
So to fix it just run: chsh -s /bin/bash username (change shell command).
If you can’t type while in “weird shell” run bash first.
I can’t type the “@” sign in console and de facto I can’t login and I can’t do anything. <br>Copy and paste is disabled or doesn’t work, too. <br> <br>I just signed up and pointed my domain to DigitalOcean but the start is a nightmare till now with that big issue. <br> <br>I have the same VPS - Ubuntu 12.04.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.