A follow-up to my last post dealing with unprivileged port access on linux containers.
This time, I have a couchpotato container that I want to change its default port from 5050 to port 80, so that it is as simple as http://mycouch/ to access from the local network.
If you use a windows ssh terminal client, or even macosx’s terminal.app, the functionality of your page up and page down key may not behave like you want it to. For example, in SecureCRT using pageup will actually page up your scroll buffer, and pagedown will scroll down your page buffer.
You’ll need to remap your keys to send the correct signal to your terminal. Change it from the default system function to “send string” and the following strings:
PageUp = 33[5~
PageDown = 33[6~
33 is a shortcut for the ESCAPE key (esc) since in some programs you can’t type in the actualy escape key.
Here are some other codes as well in case you need to remap keys.
Pause = 32
Macro = 03 # Break (Shift-Pause)
Home = 33[1~
Insert = 33[2~
Remove = 33[3~ # Delete
End = 33[4~
In SecureCRT the area to remap your keys is Tools -> Keymap Editor.
This is especially handy if you use command line IRC clients such as Irssi or BitchX.