SSH Console Menu
-
i am running pfsense 2.5 and have created a new user named proxy with admin membership. However when i ssh into my firewall with that proxy user , there is no menu. Is this expected behavior or am i missing something.
Pls help me getting around this problem.
-
yes, it is expected, you can call the menu with /etc/rc.initial
-
@kiokoman Great, but can i make this autorun when ssh connection is established? I want it to be able to autorun with admin members only.
-
add /etc/rc.initial to the end of /home/proxy/.tcshrc
-
@kiokoman WoW , Thankyou, Worked like a charm!!!
So that implies if i want to run custom scripts at startup, then /home/proxy/.tcshrc is the way to go. -
-
https://forum.netgate.com/topic/186556/how-to-run-pkg-upgrade-from-diagnostics-command-prompt/20
echo /etc/rc.initial >> ~/.tcshrc.local