OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: bennebartsch on May 24, 2018, 05:41:12 pm

Title: SSH Login Problem
Post by: bennebartsch on May 24, 2018, 05:41:12 pm
When i login via SSH i get the following errors:
csh: The terminal database could not be opened.
csh: using dumb terminal settings.
Title: Re: SSH Login Problem
Post by: franco on May 24, 2018, 10:28:46 pm
Can you give a point of reference, e.g. what version, what happened, when it happened, what doesn't work now and how long it previously worked? That usually helps us to help you better...

My guess is a rewrite of the base system fixes this, you can reinstall it from the GUI under Firmware: Packages: Reinstall "base" and let it reboot.

This or your storage media / file system is corrupted / dying.


Cheers,
Franco
Title: Re: SSH Login Problem
Post by: tofflock on May 25, 2018, 03:18:53 am
Hi bennebartsch

I would hazard a guess that you're logging into your OPNsense box and getting the "Hello, this is OPNsense nn.m welcome screen and the 0-13 menu beneath.  Then I suspect you're selecting option 8 for a Shell.

At that point you're getting the response:
Quote
csh: The terminal database could not be opened.
csh: using dumb terminal settings.

If this is the case, then before starting to log in, check to see how your current terminal is defined.  In Unix/Linux type echo $TERM.  In Bitvise (a Windows client), it called "Protocol" on the Terminal tab.  I'm sure there's a similar configuration setting in Putty (but I don't use that). When you find it, I think you'll find that your setting is possibly too esoteric for the limited database in FreeBSD.  Set the variable to "xterm" (a nice vanilla flavour) (*nix: TERM=xterm or TERM="xterm") and try logging in again and selecting option 8.

If this doesn't work, then you'll have to give Franco some more details...

HTH though.

Peter