Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Debian PORT CLOSED
#1

Hello

 

I need some help , i had to rebood in rescue mode.

 

My hosting company told me that all the port were closed but i don t see on ssh how to reopen them and which one to reopen.

 

Can somebody help me on this.

 

I didn't touch to anything on the last 2 weeks and suddenly my server is not accessible.

Reply
#2

So the first thing we need to identify is where the SSH port is being made unavailable -- is it in SSH itself, or a firewall?

 

What port are you expecting SSH to be running on? The default, port 22?

 

In rescue mode, you can examine the SSH config file by typing this at the prompt, and pressing Enter:

 

 

Code:
less /etc/ssh/sshd_config

 

You can use Space to scroll down a screen, and press 'q' to quit looking at the file and go back to the prompt. We're looking for the 'Port' line to verify what port SSH thinks it's running on.

 

We should check to see if SSH is enabled. Running:

 

 

Code:
update-rc.d ssh enable

 

Were any firewall changes made by you, or the hosting provider?

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)