[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#954344: debian installer don't sets PermitRootLogin to yes in ssh config when no regular user are created



Hello Ilya,

Илья Пащук wrote:
> if I add key to root's authorized_keys file with default debian sshd
> configuration, what I will get?

I think the default setting is:
    PermitRootLogin prohibit-password

so if you add a key to authorized_keys (and chmod -R go-rwx /root/.ssh)
then you should be able to log in.

Maybe a better feature for the installer, would be if it asked you for
an SSH key for the default user (or for the root user)?

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org

Attachment: signature.asc
Description: Digital signature


Reply to: