Linux Operating System (MOSC)

MOSC Banner

How do I change the SSH port in Oracle Linux?

edited Dec 16, 2023 11:10PM in Linux Operating System (MOSC) 3 commentsAnswered

Hi,

I need to change the default ssh port in Oracle Linux 7 and I am looking for information on how to do this. I've been looking into this but not sure if I have all the information and need and am looking for some guidance.

I believe I can change the port number in this file: /etc/ssh/sshd_config. Then I would need to update the firewall. I believe we are not yet using selinux, so nothing to do there.

Am I missing anything? Are there any oracle docs that can help with this?

Thanks,

Tony

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center