thanks for the ideas On 3/17/07, Joachim Schipper <[EMAIL PROTECTED]> wrote:
On Fri, Mar 16, 2007 at 07:17:10PM +0800, Jay Jesus Amorin wrote: > hi gurus, > > how will i configure sshd to allow only one username at a time. > > example: > > on pc1 ---- ssh [EMAIL PROTECTED] > on pc2 ---- ssh [EMAIL PROTECTED] > > now what i like to happen is ssh on pc2 should be drop bec. the user > root is already connected from pc1. > > is it possible with to configure sshd that way like ssh will already > drop ssh root from pc2 bec. username root is already connected from > pc1?I don't think that is a smart idea, and I am not aware of any way to implement this particular requirement. You could probably write a daemon or cron job that takes a look at the number of ptys in use by any single account, and so on. Joachim
-- Jay Jesus D. Amorin, CCNA, LPIC-1 Department of Mathematics, University of the Philippines, Diliman Mobile No. +639156275787 Landline No. +63 02 434-2309 Email Address: jdamorin [at] gmail [dot] com Email Address: jay [at] math [dot] upd [dot] edu [dot] ph ---------------------------------------------------------------------------------------------- Be liberal in what you accept, and conservative in what you send. ----------------------------------------------------------------------------------------------

