I could successfully SSH into my machine yesterday with the exact same credentials I am using today. The machine is running Centos 6.3. But now for some reason it is giving me permission denied. Here is my
-v
print out, sshd_config, and ssh_config files.Here is my sshd_config file on devilsmilk:
And here is my ssh_config file:
Dec 28, 2018 PHP MySQL Login System. GitHub Gist: instantly share code, notes, and snippets. The server name or address could not be resolved Solution: Verify that the server name where the web server is installed is correct and then reconnect to the server. Note: If the web server and CA ERwin Data Modeler are installed in the same computer, you can give the server name as localhost. If the web server is installed in one computer and CA ERwin Data Modeler is installed in another computer, then the server name will be the name of the computer where you have installed the web server.
UPDATE REQUEST 1: /var/log/secure
Kentgrav
KentgravKentgrav91011 gold badge1111 silver badges1818 bronze badges
3 Answers
server's /etc/ssh/sshd_config
:
- To enable password authentication, uncomment
- To enable root login, uncomment
- To enable ssh key login, uncomment
I believe (1) is what you're looking for.
John SiuJohn Siu
4,84011 gold badge1515 silver badges2121 bronze badges
I figured it out. As a last ditch effort I was going to attempt to ssh into the server via the IP address instead of the domain name. When I did an
ifconfig
on the server to get the IP I realized it was different than it was yesterday.Turns out I forgot to set a static IP address on the server when I created it and trying to ssh to
devilsmilk
was still mapped to the old IP address on the DNS server. So I set a static IP address on the server and updated the A record with the new IP address and it works fine.Thanks everyone for your help.
KentgravKentgrav91011 gold badge1111 silver badges1818 bronze badges
Try restarting the sshd service:
service --full-restart sshd
jojomannohjojomannoh
protected by JakeGouldDec 17 '15 at 5:07
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?