View Single Post
  #3  
Old 10-02-2018, 03:43 PM
danieldmb danieldmb is offline
Registered User
 
Join Date: Oct 2018
Posts: 2
Post

Hi ekoranyi,

Thanks for your reply! In reality, it is a very simple thing.

I have SecureCRT installed in a laptop running Windows 7 with a Spanish keyboard layout (SP). When I open a new SSH session to a remote Ubuntu Linux server, I can type in as if the same spanish keyboard layout were configured at the remote server. This happens even if the keyboard layout set at the remote server is not spanish, but english (us):

Code:
$ cat /etc/default/keyboard 
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"
$ echo $LANG
en_US.UTF-8
I was trying to learn how to disble this behavior for my SSH session so that the remote server could assume that my laptop keyboard is an english (US) layout - as configured at the OS level.

This way, I could for example type in the tilde character "~" by pressing "shift" + "key to the left to nr 1" in my physical spanish keyboard (instead of doing "alt gr" + "4").

Hope it makes more sense now!
Reply With Quote