• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 579
  • Last Modified:

SSH not working on fresh CentOS7 box

Per below, SSH connections on port 22 are refused.  The box is running on my LAN at 192.168.0.105.  What am I missing?  

I've turned off all firewalls (firewalld, iptables), confirmed sshd is running, confirmed port 22 is listening (this is a brand new fresh install of CentOS7.  No changes to any config files.)steps
0
Geoff Millikan
Asked:
Geoff Millikan
2 Solutions
 
TintinCommented:
What does

ip a

display?

Also, what is the output of

ssh -v root@192.168.0.105
0
 
SandyCommented:
any error in logs ? /var/log/secure ???

Please check there.. also check whether root is allowed to login via ssh under sshd config file.

TY/SA
0
 
Geoff MillikanAuthor Commented:
Results of Tintin's questions
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Geoff MillikanAuthor Commented:
SAndy:  /var/log/secure only shows the console login by root, doesn't seem to show the ssh login error: No SSHD errors in /var/log/secure
0
 
Geoff MillikanAuthor Commented:
/etc/ssh/ directory listing
0
 
Geoff MillikanAuthor Commented:
Here's the sshd_config file:
cat filecatmoremoreScreenShot022.pngScreenShot023.png
0
 
serialbandCommented:
Next time you should cut and paste the text into experts exchange, it's a bit easier to work with than the images.  The output of your ip a command shows the standard localhost (127.0.0.1) connection as  well as an ethernet (ens32) set to 192.168.0.76.  Which system are you connecting to?  Are you connecting to a remote system at 192.168.0.105?  The images suggest that you're configuring ssh for the local system with an IP address of 192.168.0.76.  That's the IP address you should be using to test.

If you are trying to connect to 192.168.0.105, then you need to configure ssh on that system.
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

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