User Tools

Site Tools


Cara Membuka SSH Port Lain di Centos 7

Bagaimana cara membuka ssh port dengan port lain di sistem operasi centos 7? yang perlu anda lakukan adalah menambahkan port pada firewall-cmd dan berikut ini adalah tutorialnya.

firewall-cmd --add-port=3456/tcp --permanent
firewall-cmd --reload
systemctl restart sshd

Jika ada error seperti ini

Job for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details.


journalctl -xe

Sep 16 08:21:12 server1 sshd[1074]: error: Bind to port 6378 on failed: Permission denied. </code> jalankan ini

semanage port -a -t ssh_port_t -p tcp 3456
semanage port -l | grep ssh
yum install -y policycoreutils-python

Demikian semoga berhasil.

Sumber :,it%20to%20a%20desired%20port.


Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
linux/centos7/membuka-ssh-pada-port-lain-di-centos-7.txt · Last modified: 2020/10/02 21:31 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki