[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ejecutar script al inicio de sesion



user name wrote:
Que tal, como es posible ejecutar un script cuando se inicia una sesion
ssh?, por ejemplo, un script que muestre el uso en disco de la cuenta de
cada usuario, etc..?

[...]
~/.ssh/rc (SSH1, OpenSSH) or ~/.ssh2/rc (SSH2), to be invoked for every SSH connection to your account. If this file exists, /etc/sshrc isn't run.
[...]

http://www.unix.org.ua/orelly/networking_2ndEd/ssh/ch08_04.htm

gracias

Saludos.
Javi.




Reply to: