Bump of this thread....
Ok, I am looking for a ssh based terminal that actually requires you to authenticate to what ever you are connecting with. Not just thrown into an authenticated user. Any suggestions? Prefer PHP coding.
Although it's not written in PHP, you should look at GateOne.
It's essentially a web-based SSH client, with all the features you need such as session resume, multiple sessions, key storage, favorites, etc.
There's no automatic login to the localhost, if you wanted to access it you'd need to login via SSH like any other box. It's fairly light-weight so I keep an instance running on a VPS just in-case I'm ever at a place where I cannot access SSH via conventional means.