Results 1 to 11 of 11

Thread: Lost SSH port.

  1. #1

    Lost SSH port.

    Long time ago I changed default ssh port to something and i donít remember what. Is there any way I could find what my ssh port is?

  2. #2
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,506
    get someone to login to the console and look at the sshd_config file
    tanfwc
    Singapore Managed Colocation
    Singapore BGP Announcement

  3. #3
    Join Date
    Aug 2003
    Location
    Bangalore, India
    Posts
    185
    yup, your DC tech should be able to help or have them give you KVM access, if they provide that.

    nettigritty.com Web Hosting
    TAMING THE WORLD WILD WEB

  4. #4
    I have access to WHM i dont think i have KVM access. So The only way is to contac suport and ask them to chang my ssh port?

  5. #5
    Join Date
    Aug 2003
    Location
    Bangalore, India
    Posts
    185
    contacting support would be the simplest thing to do.

    nettigritty.com Web Hosting
    TAMING THE WORLD WILD WEB

  6. #6
    I know but my support team is really slow I will have to wait hours.

  7. #7
    Join Date
    Aug 2003
    Location
    Bangalore, India
    Posts
    185
    if you have not disabled telnet, you could try that.

    plan B - run a portscan on the range of ports that you might have set SSH on.

    nettigritty.com Web Hosting
    TAMING THE WORLD WILD WEB

  8. #8
    I didn't disable telnet but i cant connect i got message : cant connect on port 23.

  9. #9
    Join Date
    Oct 2006
    Location
    England, UK
    Posts
    9
    You could always attempt a port scan on the machine in question, if it your machine that is.

  10. #10
    Join Date
    Jun 2003
    Location
    UK
    Posts
    6,601
    From another box try

    nmap -sT aa.bb.cc.dd

    and that will list all the ports (as long as APF doesn't block you)

    Then telnet to the port and you should see something like this

    [email protected]:~$ telnet servername 12345
    Trying 1.1.1.1...
    Connected to 1.1.1.1
    Escape character is '^]'.
    SSH-1.99-OpenSSH_3.9p1

    Thats the port SSH will be on
    Russ Foster - Industry Curmudgeon

  11. #11
    Ok this is to much for me i think i have to wait for support still no respons

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •