Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Change port SSH

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
edica
Posts: 126
Joined: Tue May 26, 2015 7:31 pm

Change port SSH
  • Quote

Post by edica » Wed May 22, 2019 3:38 pm

Change port /etc/ssh/sshd_config
#Port 22
to
Port 2222

In the Vesta panel > Firewall > change port 22 to 2222.

Is that enough for everything to work? Need to change something on Fail2ban?

Thanks.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Change port SSH
  • Quote

Post by grayfolk » Wed May 22, 2019 5:35 pm

edica wrote: ↑
Wed May 22, 2019 3:38 pm

Is that enough for everything to work? Need to change something on Fail2ban?
Thats all. Not need to change something on Fail2ban.
Dont forget to restart sshd after changes.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password