I created a Fedora 20 virtual machine with VirtualBox 3.18.
I created a host-only network adapter for it, it has the ip address 192.168.56.1 .
I ping that address from the host, it works.
I try to ssh into it, it does not work.
I get the following output from
sudo firewall-cmd --list-all:
public (default, active) interfaces: p2p1, p7p1 sources: services: dhcpv6-client mdns ssh ports: 22/tcp masquerade: no forward-ports: icmp-blocks: rich rules
ip addr shows that
p7p1, which is the network adapter that has the MAC address of the VirtualBox host-only adapter, has only an ipv6 address.
ssh email@example.com, my connection is refused. Might that
p7p1 network interface not having an IPv4 address cause this problem? From the above firewalld output it seems that the port is open.
sshd is running.