I figured out that I was getting the SSH error only when logged into an SM via mac-telnet. I was trying to rescue an SM that my script only made it half way through before choking on an error
Once I connected via SSH the config set command worked.
But now that I think about it, it is kind of worrying that you can’t set IP addresses through mac-telnet. You would think it’s the same exact shell with the same commands available