Changes

Jump to: navigation, search

OPS705 Lab 2

130 bytes added, 22:13, 18 January 2023
SSH Listen Port
=== SSH Listen Port ===
[[Image:Ops705_sshd_listenport_custom.png|right|400px|thumb|Figure 10: Setting the custom listen port for SSHd.]]
# From the command line, run the following (it will take a few minutes): <code>semanage port -a -t ssh_port_t -p tcp 22222</code>
# Using vim, open the SSH configuration file: <code>sudo vim /etc/ssh/sshd_config</code>
# Find the line (near the top) containing the words: '''Port 22'''

Navigation menu