As @l0k1 pointed out, simply using keys doesn't make much difference. But what you can do to improve the security of the server, is restricting the commands that can be run. You can do this by using the option command="..." in the authorized_keys file. Then, for each command you create a separate key. The man page sshd(8) has some information on this in the section "AUTHORIZED_KEYS FILE FORMAT".
You are viewing a single comment's thread from: