I tried changing it the way recommended in How do I change my default shell on a AWS instance?, as shown below:
chsh -s $(which zsh)
but that gave me an error. The system asks me to use ypchsh instead, but that gives me this error message:
ypchsh: can't get local yp domain: Local domain name not set
What can I do to set my remote shell to zsh?