Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I've never used linux before, so this may be a problem with that, but I'm trying to simply SSH into my friends webserver using the info he gave me. I looked up that the linux command to ssh is ssh username@hostname. I'm not trying to type that into LXTerminal but everytime I hold shift and hit the number two I don't get @ I get ". Any ideas?

share|improve this question

closed as off topic by Jivings Jun 18 '13 at 20:32

Questions on Raspberry Pi Stack Exchange are expected to relate to raspberry pi within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.

The @ is mapped to the " key in the UK. –  Jivings Jul 13 '12 at 21:46
By the way, I know this is probably irrelevent, but if you can't be bothered to do the remapping described below, you'll probably find that Shift+' will give @ (the key next to ;) If I guess correctly, this is the combination that normally would give you " –  ACarter Jul 14 '12 at 13:04
Thank you for the keyboard combo "shift + apostrophe" to make @ symbol. It does work! I could not put my email address in the Netflix membership sign in. Appreciate it! Other than that, the Raspberry Pi is a great learning experience! –  user3392 Nov 22 '12 at 4:23

2 Answers 2

up vote 28 down vote accepted

You need to remap your keyboard. By default it is set to a UK map.

at the command line type:

sudo nano /etc/default/keyboard 

and hit enter. locate the following line


Change the gb to us (This assumes you want a us mapping, if not replace the gb with the two letter code for your country)

and reboot your machine.

if it pauses for a long time during the keyboard mapping stage, enter the following at the command line:

sudo setupcon

Your next reboot should be much faster.



share|improve this answer
Just a note, if nano's not your editor of choice the pi comes bundled with vi as well. –  piperchester Jan 19 '14 at 18:31
That is so wierd. Just saying.... –  GreenAsJade May 2 '14 at 11:40

Steve's answer, though correct at the time, is now somewhat out of date. In Raspbian:

sudo raspi-config

and go to the configure_keyboard section with 4 Internationalisation Options -> I3 Change Keyboard Layout

You can choose the correct keyboard type and layout from there.

share|improve this answer

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