arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VPS 9 Dallas issues with changing Port Number
#1
I've been having issues with changing my port number.  With OS CentOS 7 x86_64 Minimal v2 although I think it is more on the VPS side.

These are the steps I followed for changing the port:

yum install nano
/etc/ssh/sshd_config
I removed the #comment before Port 22 and changed the 22 to 6382
Then successfully saved it - ctrl X - Y - Enter
Then tried to restart ssh: service sshd restart

An error came up and it wouldn't allow me to restart the service.  Unfortunately I didn't copy the error wording but it basically said that sshd was unavailable.  Of course when I tried to get in again via SSH there was an error.  I then reinstalled the OS again.  Googled the issue.  Tried alternative commands.  But same results.  Once I've done a change in /etc/ssh/sshd_config I can't get in any longer.  At one point I even tried to change back to #Port 22 - the way it was before. I was still unable to get in again.
Terminal
Thank you to Post4VPS and VirMach for my awesome VPS 9!  
lockThread Closed 


Messages In This Thread
VPS 9 Dallas issues with changing Port Number - by deanhills - 05-09-2021, 03:24 PM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
2,628
10-25-2020, 05:34 PM
Last Post: OldMeister
3,203
05-09-2019, 04:40 PM
Last Post: Mashiro

person_pin_circle Users browsing this thread: 2 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting