I want an EC2 host with 2 NICs, one for administration and one for hosting a few server processes.
I successfully cloud form'd a host with 2 NICs, each with their own elastic IP. I expect I can SSH into the box from either IP, but I can only connect via the IP assigned to eth0. Connecting via eth1 just hangs.
- Tried setting up a second SSHD to bind on eth1, didn't work.
- Turned off SELinux, also didn't work.
What do I need to do to connect to SSH on eth1?
#Just Hangs chronos@localhost / $ ssh -v email@example.com OpenSSH_7.3p1, OpenSSL 1.0.2j 26 Sep 2016 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 1: Applying options for * debug1: Connecting to 18.104.22.168 [22.214.171.124] port 22.
My cloudformation file (uses the rhel7 ami in US-West-2, Oregon): https://s3-us-west-2.amazonaws.com/cf-templates-11rdba5328vvk-us-west-2/2016359ImH-cf2.txt
Also, tried attaching using NetworkInterfaceAttachment instead of the Instance's NetworkInterfaces property, same problem: https://s3-us-west-2.amazonaws.com/cf-templates-11rdba5328vvk-us-west-2/2016359ttS-cf2.txt