My Oracle Support Banner

Oracle Linux: SSHD Service Startup Fails With Error "error: Bind to port 2222 on 0.0.0.0 failed: Permission denied" (Doc ID 2777031.1)

Last updated on MAY 21, 2021

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 5.0 and later
Linux x86-64
Linux x86

Symptoms

On Oracle Linux (OL), the OpenSSH SSH Daemon (sshd) utilizes port 22 for incoming connection requests from remote OpenSSH SSH (ssh) and Secure File Transfer (sftp) clients.
In some cases, however, System Administrators (SAs) prefer to utilize separate ports to service ssh and sftp activity, such as described by the following document:
How to Separate Port For ssh And sftp On Oracle Linux (Doc ID 2254796.1)

Changes

 sshd was recently re-configured to use additional and/or non-default network ports.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.