13
olback
7y

Lesson learned the hard way: Remember your SSH Ports or write them down...

On the bright side of things, i had backups this time! Tyy DigitalOcean :)

Comments
  • 2
    Use the web console and look up the ssh port?
  • 1
  • 1
    I always use ports that make sense. For SSH it's 774 (which is SSH on a numeric keypad). And port scanners won't go as far, so it's pretty safe.
  • 0
    @620hun I use port 3798 for local stuff and 10569 for anything outside my network. But for some reason my mail server was using 19621.
  • 0
    @Artemix did that with 0 success. :(
  • 0
    @Artemix well yea, i knew the port was somewhere between 10000 and 20000 so i did "nmap <ip> -p10000-20000". But it returned 0 open ports :/
  • 2
    @Artemix One of the first firewall rules I set up is to prevent port scanning
  • 0
    Most Cloud Hosting services have web consoles now. I use Vultr and if I can’t access through SSH I just open up the noVNC console and can access it directly.
Add Comment