Samba and SSH?

Is it possible to install both?

I installed samba and it works correctly, trying to install SSH and when I click START nothing happens

Yes, you can run both. For SSH to work, you must have an authorized key for SSH to start. Generate one using Putty or with ssh-gen.

I generated one with puttygen, but not sure how all works

I put the below, is it correct? Then when I login with PUTTY which user shall I put? WHatever I type I receive an error

{
“authorized_keys”: [
“ssh-rsaAAAB3NzaC1yc2EAAAABJQAAAQEAn+v1W9QFF8EsyLz0V+saSRUpoMAFwFb6/fZFfas03kLMDijxyhHKlxybi9jfO9k0+kuPD5vVH3nAdGxgcqMmrp2lgz6rNiT31zapq6c5h8z0Q7GG86jkqkereh57T72UsqydLHzIBRCQjDqe1fz1NEQafCRdMwZRI6/nTxxxxxxxxxxxxxxxCzk/ZZRdCUggi4UX0IYc/2Um0m/vgubtHyR6Lbp+i/JJenNMA5nGGS7dnLNdW7yGqgy5r40/z1Nv4zDQT9Gft2xVpv2sAwC+oN/ICEutHL/C9iflSMmZMCBl5s2ifawxKYSj8pfWu8UPg3czVgsGhPWKw== rsa-key-20170726”
]
}

Well, you should have a space between ssh-rsa and your key. Then you should connect as user “root” with no password.

did that, I receive this error

DIsconnected: no supported authentication methods available (server sent publickey.keyboard-interactive)