Using 'ForceCommand' Option

Scott Neugroschl scott_n at xypro.com
Thu Feb 18 10:06:04 AEDT 2016


> So I probably shouldn't have said "arbitrary" script. What I really want to do
> is to present a terms of service notice (/etc/issue). But I also want to get
> the user to actually confirm (by typing 'y') that they accept. If they try to
> exit or type anything other than 'y' they will be denied access.

For interactive sessions, at least, can't you just do this in /etc/profile?

 



More information about the openssh-unix-dev mailing list