Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
SSH Login Problem
« previous
next »
Print
Pages: [
1
]
Author
Topic: SSH Login Problem (Read 4712 times)
bennebartsch
Newbie
Posts: 4
Karma: 0
SSH Login Problem
«
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.
Logged
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: SSH Login Problem
«
Reply #1 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
Logged
tofflock
Newbie
Posts: 34
Karma: 3
Re: SSH Login Problem
«
Reply #2 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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
SSH Login Problem