Please mark as "Accept the answer" if the above steps helps you. Set the password for root user, if you don't know it yet (passwd) Make sure that you have username and password ready. Now, you are ready with connecting your Container instance through Filezilla Port 22. Once the changes are done, restart the ssh service service ssh restart Now, edit the sshd_config file: vi /etc/ssh/sshd_configĭo the following changes: Un comment the entries as below: PermitRootLogin yes So, for you, there can be small differences depending up on the Linux flavor you use I have used ubuntu container Image for this purpose. Next edit the SSH server config file at /etc/ssh/sshdconfig and make the TrustedUserCAKeys directive to point to the user CA public key (NOT the user CA certificate) we just copied over.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |