pkg_delete bash, logged out by accident, can't ssh back in (not good)

Edward edward at rdtan.net
Sat Sep 27 03:08:22 UTC 2014


On Fri, Sep 26, 2014 at 04:51:32PM -0400, firmdog at gmail.com wrote:
> I did a pkg_delete of bash and was going to make install a new one
> from the port, due to shellshock. I logged out by accident, and when
> try to login via ssh, it won't take my password. I assume I can't
> login because the default shell is bash, which has been removed right?
> 
> Any ideas on how I can get into my remote freebsd box via ssh?
> 
> Workarounds?

Hi,

After a few times stepping on this problem when upgrading ports, picked
up a habit. Leave /bin/{k}sh as default shell and always "tmux new"
after remote login.

HTH,
Edward.


More information about the freebsd-questions mailing list