[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 493
  • Last Modified:

Ubuntu 10.10 Open Ports

I have an Ubuntu 10.10 server.  Right now its configured to accept SSH connections only from specific servers with a certificate installed.  

I want to change the config so it allows anyone to connect via SSH as long as they have the username and password.

How do i do this?
0
deklinm
Asked:
deklinm
2 Solutions
 
farzanjCommented:
So, as I understand no IP ranges or host names are blocked in the firewall or through TCP wrappers.  Are the user names a possible issue?

In the sshd_config file, what is the value for:
AuthorizedKeysFile
?
0
 
ddiazpCommented:
Change:

PasswordAuthentication
ChallengeResponseAuthentication

to yes.

Also, set UsePAM to yes if it's set to No.

PS: Only make these changes if you have direct access to the servers' console. Do NOT do this if you ONLY have SSH access as you might get locked out if you have some other config on your file outside the defaults that we're ignoring.

Naturally, restart sshd service after.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now