Reverse Engineering Synology's OpenSSH
Trying to use a non-standard shell in your Synology DS212+ NAS may be an exercise of frustration. I’m a bash-lover, and have a bunch of scripts to automate backups, so I wanted to set up default shell to /bin/bash. It worked well with root, but when a regular user tries to log in, the connection is terminated with “Permission denied, please try again.”. Weird. Maybe /etc/shells? Nops. Maybe sshd_config? No. PAM modules, then? Also not. I even tried compiling bash from source (which took me a full day, just to get ARM GCC to cross compile properly). Nada. ...