Re:Run Commands, the 'rc' in '.bashrc'
by OrgNet on Sunday September 01, 2019 @05:56PM
(#20855249)
Looks like it executes the commands only on the server where
~/.ssh/rc or /etc/ssh/sshrc exists.
> ~/.ssh/rc
> Commands in this file are executed by ssh when the user logs in, just before the user's shell (or command) is started. See the sshd(8) manual page for more information.
> ~/.ssh/rc
> Commands in this file are executed by ssh when the user logs in, just before the user's shell (or command) is started. See the sshd(8) manual page for more information.