How can I restrict multiple ssh login sessions? I really would like one remote user to have one login session.
Any help is highly appreciated.
You would, I believe, need to write a shell script and likely put it in /etc/profile or such to keep them from skipping it, and you would want to be sure to exempt any special users.
Jacob - WebOnce Technologies - 30 Day 100% Satisfaction Guarantee - Over 5 Years Going Strong! Website Hosting, PHP4&5, RoR, MySQL 5.0, Reseller Hosting, Development, and Designs
If you are using freebsd you can probably do it with ipfw:
ipfw add [rule number] allow tcp from any to [your ssh/server ip] dst-port 22 limit dst-addr 2
The above code will restrict connections from any ip to the ssh port and ip to 2, so if you want 1 make it 1, but use it carefully, add some rule before it and allow full access to the server from your own ip.