dellett
November 30th, 2012, 12:27 AM
Hi all,
I was trying to set up the hosts.deny/hosts.accept files for a virtual machine which I can only access through ssh and I stupidly set up the files as follows:
hosts.deny
ALL:ALL
hosts.accept
localhost 127.0.0.1
So you can see, I can't log in to the VM at all. Since it is a VM and I can't just log on to the physical machine, do I have any way of getting in to the system and/or changing the hosts.deny file? Or am I just going to have to get a new VM? If anyone has any ideas, feel free to share.
I was trying to set up the hosts.deny/hosts.accept files for a virtual machine which I can only access through ssh and I stupidly set up the files as follows:
hosts.deny
ALL:ALL
hosts.accept
localhost 127.0.0.1
So you can see, I can't log in to the VM at all. Since it is a VM and I can't just log on to the physical machine, do I have any way of getting in to the system and/or changing the hosts.deny file? Or am I just going to have to get a new VM? If anyone has any ideas, feel free to share.