Remote Login allows control of your computer from other devices. This should only be allowed in rare cases and disabled once finished. Learn more on Apple Support page.
Generally speaking Remote Login is pretty secure. But security is best done in layers, because, from time to time, even Remote Login might have security vulnerabilities. So it's best to keep it turned off when you're not using it.
<1 minute