Skip to main content

Connect to server via SSH using MacOS

Comments

5 comments

  • dalem
    if you have not changed your ssh port then the port will be 22 if you are still unsure what your port is you can restart ssh in whm & it will show you what port SSH is listening on
    0
  • cPanelMichael
    Hello @hoseke, If you're attempting to access your cPanel & WHM server via SSH as "root", then your username is "root" and the IP address is the IP address of the cPanel & WHM server. By default, the SSH port is 22. Thank you.
    0
  • hoseke
    Hello
    0
  • dalem
    Look for this Startup Log Dec 18 09:05:02 hostname systemd[1]: Starting OpenSSH server daemon... Dec 18 09:05:02 hostname sshd[3133744]: Server listening on 0.0.0.0 port 22. or you can just open a terminal on WHM an run grep Port /etc/ssh/sshd_config
    0
  • cPanelMichael
    sshd (/usr/sbin/sshd -D) is running as root with PID xxxxxxx (systemd+/proc check method)."

    This is normal output. It shows that SSH is running well.
    another question: PID is a 7 digits number, but is doesn't mean its the Port number?

    PID means "Process ID". It's the ID associated with the SSHd process that's running. Thank you.
    0

Please sign in to leave a comment.