If you use CloudBoot compute resources but a non-standard SSH port for the cloud:

  1. Power on the servers and allow them to boot the default image.
  2. You need to know the compute resource management network NIC MAC address to find the new IP of compute resources:

    [root@server1 ~]# grep -e dhcpd -e 'bc:30:5b:dd:1c:94' /var/log/messages|tail -2
    Apr 12 06:32:25 server dhcpd: DHCPREQUEST for xxx.xxxx.xxx.xxx from bc:30:5b:dd:1c:94 via eth1
    Apr 12 06:32:25 server dhcpd: DHCPACK on xxx.xxx.xxx.xxx to bc:30:5b:dd:1c:94 via eth1
  3. Log in to the compute resource with SSH (no password is required) from your Control Panel and set the SSH port to 22 using the -p option:

    [onapp@server ~]# ssh root@xxx.xxx.xxx.xxx -p 22
  4. Reconfigure SSHD to listen on the custom port:

    [root@xxx.xxx.xxx.xxx ~]# echo "Port xxxx" >> /etc/ssh/sshd_config ; /etc/init.d/sshd restart
  5. Add servers to the Control Panel by selecting MAC addresses and assigning IP addresses (refer to the Create CloudBoot Compute Resources page).
  6. Add the following to the custom configuration:

    echo "Port xxxx" >> /etc/ssh/sshd_config
    /etc/init.d/sshd restart