Am needing some expert advice here, hope to get some help
I'm currently making use of the $HOME/.ssh/rc file to launch an automated shell script immediately after the user has been verified through ssh.
The current problem that I'm facing now is that I am unable to use the "read" command anymore... seems like the "read" statements are being bypassed as though as they were commands. This poses a huge issue, since I need to run several other scripts with heavy use of the "read" command as subshells.
Is there a way to work around this problem? Or is this part of some security feature in ssh that prevents one from accepting user inputs? I am currently interested in having the rc file launch certain groups of users (whose names can be found in a text file residing on the server) directly into another shell. Was thinking of a more automated approach, but seems like it'll be hard.
Thanks in advance.