- Connection is through SSH
.pem
file- Connection is on port 22
- Individual keys for each separate user
Acho que é possível usar o SFTP com autenticação de chave pública.
$ vi /etc/ssh/sshd_config
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
PermitRootLogin no
PubkeyAuthentication yes
- Using the
.pem
file, console/root access should not be allowed.
~/.ssh/authorized_keys
command="internal-sftp" ssh-rsa AAAAXXXXX [email protected]