How to switch Shell over SSH?
I recently upgraded a FreeBSD box from 6.3 to 7.4, however, I didn't realise the requirement of compat6x before the final upgrade install.
It leaves Bash broken because of a failed dependency (Shared object "libncurses.so.6" not found, required by "bash")
Which means I can't login either at the console or via SSH because it dumps me out immediately after logging in. I am the only Wheel user with my default shell set as Bash. I know /bin/sh is unaffected by this because I can log into via the console as root and roll back the upgrade. Second time of upgrading the same problem, but I have no access to the console this time to roll it back.
How can I log in via SSH using a different shell from Bash so I won't be dumped out? I can't log in as root via SSH because of the security and I am the only member of the Wheel group.
Any help will be very useful.