On 30/11/99 Martin Dickopp wrote:
Read the section "Restricted Shell" in the bash documentation; this might be what you're looking for. In restricted mode, you can control what commands bash can execute, so you could limit them to telnet and ssh.
I tried this out once, it was interesting, but all i had to do was type `bash' and get a real unrestricted shell. <shrug> maybe i missed something :-)
Ethan