Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
unable to access web GUI and SSH is also broken
« previous
next »
Print
Pages: [
1
]
Author
Topic: unable to access web GUI and SSH is also broken (Read 2548 times)
packetsaylut
Newbie
Posts: 2
Karma: 0
unable to access web GUI and SSH is also broken
«
on:
September 05, 2022, 02:43:25 am »
The web sessions just hang and time out. Here's a print of the ssh attempt:
mypc:~$ ssh -l root 192.168.1.1
kex_exchange_identification: Connection closed by remote host
Connection closed by 192.168.1.1 port 22
I haven't logged in in a couple of months so I'm not sure if I performed an update on my last login or this just spontaneously happened.
I still have access to the console if anyone would like to walk me through troubleshooting the root cause and hopefully fixing it.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: unable to access web GUI and SSH is also broken
«
Reply #1 on:
September 05, 2022, 11:02:41 am »
Logging in as root. Not what I'd advise but you know what you're doing.
If you can get to the console, there option 3 is to reset the root password. It might be the easiest thing to do for now to at least be able to ssh in and troubleshoot.
Logged
packetsaylut
Newbie
Posts: 2
Karma: 0
Re: unable to access web GUI and SSH is also broken
«
Reply #2 on:
September 05, 2022, 06:55:18 pm »
Thanks cookie.
I think this is related to openssl/certificates I can login via console just fine but am unable to SSH (error in earlier post) and the web console does not load. A directly connected keyboard/monitor or use of the serial is my only option.
I'm not much of a *nix sysadmin so am not sure how to troubleshoot it. Generating a new self-signed certificate might be helpful but I'm not having much luck figuring it out.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: unable to access web GUI and SSH is also broken
«
Reply #3 on:
September 06, 2022, 01:01:11 pm »
Ah, I see. It seems you setup ssh keys in the past. Now for some reason I guess you are attempting to log in with them.
You could inititate a verbose output to see if it gives an indication:
mypc:~$ ssh -vvvv -l root 192.168.1.1
Self certs are not going to help here as you can't login to opn, unless I misread that.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
unable to access web GUI and SSH is also broken