Re: E-mail on SSH Login

From: Adam KOSA (adamk_at_sch.bme.hu)
Date: 03/30/04

  • Next message: Adrian 'Dagurashibanipal' von Bidder: "Re: E-mail on SSH Login"
    Date: Tue, 30 Mar 2004 00:45:40 +0200
    
    

    > > How can I notify every ssh login, with an E-mail ?
    > >
    > Does RH use pam to authenticate ssh? If so, coding a pam module would do the
    > trick.
    >

    I'm sure this is one way to go, but i'd prefer inserting
    echo "successful login, user $USER" | mail -s "login via ssh" email@addr
    to /etc/profile, as root. non-root users cannot remove this.

    i don't see this as an ssh quiestion though.

    cheers
    adam


  • Next message: Adrian 'Dagurashibanipal' von Bidder: "Re: E-mail on SSH Login"