Link to home
Start Free TrialLog in
Avatar of domonus
domonus

asked on

Disable Input devices except console SSH

Hello,

Is there a way to disable all localized keyboard support? Meaning the computer boots and the only way to interface is via console.

Probably phrased wrong.

Thanks!
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Hi,

The question is not clear. What is the relation between local keyboard and ssh?

If you can give more info / explanation
Avatar of domonus
domonus

ASKER

If someone were to plug in a keyboard on the machine, they wouldn't be able to type.
usual wisdom states that you should secure your computer entirely out of harms way.  This will stop users booting from cd/usb and other nasties.  i.e. lock it in a cupboard or in a secure computer room.
Avatar of domonus

ASKER

Its at a co-location :(
Hi,

Normally, you should not run login process on. You may also change the settings with stty command.

Physical security is the first line of protection.
Avatar of domonus

ASKER

COuld you please go into depth regarding "Login Precess on" and "stty command"

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of domonus

ASKER

Thank you. One more thing before i close this topic. What you mentioned above will not interfere with SSH Console correct?

Thanks.
Hi,

If you mean login using ssh remotely, then yes ass long as you do not stop sshd daemon.

what approch you will take?

If you decide to run on level 3, then make sure that there is a startup script for sshd in /etc/rc3.d

An RS-232 serial console allows Linux to be controlled from a terminal or modem attached to an asynchronous serial port. The monitor, mouse and keyboard are no longer required for system administration. Serial consoles are useful where Linux systems are deployed at remote sites or are deployed in high-density racks.

i hope this link help u a lot

http://www.linux.com/base/ldp/howto/Remote-Serial-Console-HOWTO/index.html
that does not help if they start the server with a live cdrom.

this is just trying to make difficult something that is doable for sure.
Hi,

That what was said at the very beginning, physical access / security.

Avatar of domonus

ASKER

Making it difficult is the only option.

Well im not closing this until i have a chance to try Omar's option.
Avatar of domonus

ASKER

Finally did kinda what i wanted.