Author

sftp-restrict user access to directories
sftp-restrict user access to directories

sftp login to the specified directory Modify sshd configuration: /etc/ssh/sshd_config #Subsystem sftp /usr/lib/openssh/sftp-server Subsystem sftp internal-sftp # Change to internal-sftp # Example of overriding settings on a per-user basis #Match User anoncvs # X11Forwarding no # AllowTcpForwarding no # PermitTTY no # ForceCommand cvs server Match User test ChrootDirectory /sftpdata/test X11Forwarding no AllowTcpForwarding no PermitTTY... » read more

push image to AWS ECR
push image to AWS ECR

We changed the docker image repository from harbor to AWS ECR. How to push the image? Retrieve an authentication token and authenticate your Docker client to your registry. Use the AWS CLI: aws ecr get-login-password --region ap-east-1 | docker login --username AWS --password-stdin <aws account>.dkr.ecr.<region>.amazonaws.com In this way, we not only have to change the... » read more