Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2014 11:08:11 +0800
From:      Edward <edward@rdtan.net>
To:        "firmdog@gmail.com" <firmdog@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg_delete bash, logged out by accident, can't ssh back in (not good)
Message-ID:  <20140927030810.GC23533@wide.rdtan.net>
In-Reply-To: <CAHcg-UGOAjobmTnWM9%2B5PiE23wXrDO8v31p5QCF07ar8aXEV8A@mail.gmail.com>
References:  <CAHcg-UGOAjobmTnWM9%2B5PiE23wXrDO8v31p5QCF07ar8aXEV8A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 26, 2014 at 04:51:32PM -0400, firmdog@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140927030810.GC23533>