Everytime I press < it does > instead

Posted April 17, 2018 1.3k views

Like it says in the title, I am on a chromebook and I am inside of the console hosted off of digital ocean. The reason I am not using a ssh client is because it is blocked at my school ( I code for fun in study hall).

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
4 answers

It is possible that your server is configured with a different keyboard layout than your chromebook (Droplets default to an EN-US standard keyboard). This will not matter when using SSH but when using the web console the key events are sent directly to your server (and your server see’s it as a local display and keyboard). You can re-configure the keyboard by running:

dpkg-reconfigure keyboard-configuration

on your Droplet.

You also mentioned that you are able to use the console but not SSH from your location. SSH by default runs on port 22 so it would appear that is blocked. The control panel runs on standard web ports but the web console utilizes a random port (usually between 6000-7000) to establish it’s connection. Since you can use the console that would indicate that your network is only blocking specific ports. If you change the port that your SSH service is using you may be able to use SSH instead of the console.

Edit the file /etc/ssh/sshd_config

and change “Port” to any other port.

Then restart the service with:

service ssh restart

and update your ssh client’s connection configuration to reflect the new port.

By blocked I mean my schools IT guy blocked all the ssh clients from the chrome store. Also my chromebook is on a en-us keyboard

It is only on my chromebook also not on windows

I did the showkey command to see what would happen. I pressed < > | and they were all reporting the same keycode of 86