bash_logout and sftp
From: Corey (corey_s_at_qwest.net)
Date: 05/01/05
- Previous message: Young, Randy: "RE: Cannot SSH from outside LAN"
- Next in thread: Steven W. Orr: "Re: bash_logout and sftp"
- Reply: Steven W. Orr: "Re: bash_logout and sftp"
- Reply: Kevin Sullivan: "Re: bash_logout and sftp"
- Maybe reply: Robert L Sowders: "Re: bash_logout and sftp"
- Reply: Eloi Granado: "Re: bash_logout and sftp"
- Maybe reply: Robert Hajime Lanning: "Re: bash_logout and sftp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 1 May 2005 02:56:00 -0700 To: secureshell@securityfocus.com
Using openssh-3.9_p1
Is it possible to have user's ~/.bash_logout invoked after disconnecting from
sftp sessions?
I was hoping it would be a simple matter of enabling the UseLogin config
option. Does this only really work w/ ssh sessions, or is there something I
can do to somehow get this ( or equivalent ) functionality w/ sftp sessions?
( What I'm trying to get working is to execute user-specific rsync jobs for
mirroring purposes whenever a user finishes uploading files using sftp - it
seemed that a .logout sort of rc script would be the easiest method of doing
this; the only other option I can think of is to use a log analyzer to grep
for 'session closed for user' msgs )
Thanks!
- Previous message: Young, Randy: "RE: Cannot SSH from outside LAN"
- Next in thread: Steven W. Orr: "Re: bash_logout and sftp"
- Reply: Steven W. Orr: "Re: bash_logout and sftp"
- Reply: Kevin Sullivan: "Re: bash_logout and sftp"
- Maybe reply: Robert L Sowders: "Re: bash_logout and sftp"
- Reply: Eloi Granado: "Re: bash_logout and sftp"
- Maybe reply: Robert Hajime Lanning: "Re: bash_logout and sftp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]