Skip to content

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
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by martinpitt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants