Using Developer Shell - pfSsh.php
- 
 Hi. I'm trying out using the developer shell and pfSsh.php. 
 The commands I'm running all seem to work as expected and I've successfully created aliases and NAT rules.I've saved the commands into a text file 'cmds.txt' and have then tried to feed them into pfSsh.php as follows: /usr/local/sbin/pfSsh.php < cmds.txt This works fine and the entries are created, however I end up with lots of 'pfSense shell:' prompts scrolling past the screen.. pages and pages of them. 
 I've added exit; to the end of my commands but I still get the same.Anyone know how to stop that ? Thanks. 
- 
 why not just record & save a macro ? 
- 
 Hi My aim is to dynamically update the firewall entries from a script. 
 The values the script will use will change on a per entry basis so I don't think a macro will work.Any way to stop the shell prompt keep appearing ? I have to CTRL+C to get it to end. Thanks 
- 
 Looks like using exit, not exit; resolves the issue ! 
- 
 Put "cmds.txt" in /etc/phpshellsessions Then: pfSsh.php playback cmds.txt 
- 
 Thanks I'll give that a try. 
