If you had not saved the change you could not login as root. Simple as that. Perhaps again a minor mistake at the complete pathname?
OK, now we get rid of that password authentication and then it's good for now for today, I guess. Need to check some basic network settings tomorrow and then you are ready to actually install software in the jail, yeah!
From the Mac terminal do this:
ssh-copy-id root@<jail-ip-address>
That should ask you for the password for the last time and use that connection to automatically install your SSH key. From a second terminal window you should then be able to use ssh without password ...
Patrick,
with respect to my homework, here is what I have accomplished:
-I Created a jail on a static IP
-I enabled SSH on that Jail
-I generated private/public key pair on my Mac
-I placed the public key in the root of the jail. I can now SSH root jail with my Mac terminal directly without a password
-I have my VM up and running
With respect to installing and enabling Nginx web server in the Jail, I have made a lot of research, but don't feel confident I can do the job without messing up. I would appreciate further guidance when you have a chance. I purchased a public domain for my cloud.
Thanks so much and have a good evening