Browse Source

Allow Ubuntu user for Aws servers

pull/25/head
Vikas Kapadiya 1 year ago
committed by GitHub
parent
commit
8cab33e334
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      etc/ssh/sshd_config

+ 2
- 2
etc/ssh/sshd_config View File

@@ -10,7 +10,7 @@ HostKey /etc/ssh/ssh_host_ed25519_key
PermitRootLogin without-password

# Allow ssh access to some users only
AllowUsers root
AllowUsers root ubuntu

# allow ssh key Authentication
PubkeyAuthentication yes
@@ -42,4 +42,4 @@ HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,
# use strong ciphers
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com

Loading…
Cancel
Save