Trying to configure a user to be able to login via ssh and only see the router's configs. Router in question is a 2801 running IOS Version 12.4(15)T1.
Using local username database, no aaa new-model.
VTYs configured as follows:
line vty 0 4
transport input ssh
User configured like so:
username dummy priv 15 secret 0 XXXXXXX
username dummy noescape autocommand sh run
When dummy logs in, no config is shown and he gets privileged exec mode prompt.