Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/17/2015 in all areas

  1. The second form should work. Try adding a -v or -vv and see if the diagnostics reveal anything. The first two thoughts: You set the new port, but didn't restart the daemon. Or your fingers lead their own life and xxxx in your command is NOT the new port on your server. Check using something like nmap or hping to see that ssh is running on the port you want. If it's not, then scan to see if ssh is running on another port. A third possibility is that ssh is set up to refuse root access (this is the default.) Can you login with password? e.g. ssh -p xxxx [email protected] *** General note: Always have two ways to access a remote machine. Change only one at a time. Make sure that change survives a reboot. Now change the other one.
    1 point
×
×
  • Create New...