If I block port 22 using ufw, can I still access cockpit and will the cockpit terminal function? #21408
Answered
by
martinpitt
emanuelegori
asked this question in
Q&A
|
I've installed cockpit on VPS debian12 and can now access it from a custom address, https://ck.mydomain.it. |
Answered by
martinpitt
Dec 9, 2024
Replies: 1 comment
|
Yes, if you use the Cockpit login page to log into its host, i.e. you don't use the "Connect to:" functionality, you don't need SSH. For the record, this is completely opposite to what we recommend: Install cockpit-ws or the ws container or use the Client flatpak on an uncritical machine, and connect to your production server over SSH. SSH is much much better protected than cockpit's web server. |
0 replies
Answer selected by
martinpitt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, if you use the Cockpit login page to log into its host, i.e. you don't use the "Connect to:" functionality, you don't need SSH.
For the record, this is completely opposite to what we recommend: Install cockpit-ws or the ws container or use the Client flatpak on an uncritical machine, and connect to your production server over SSH. SSH is much much better protected than cockpit's web server.