mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	persmissions fix
This commit is contained in:
		
							parent
							
								
									4eea1db3aa
								
							
						
					
					
						commit
						c685549dfc
					
				| @ -14,6 +14,7 @@ RUN echo "PubkeyAuthentication yes" >> /etc/ssh/sshd_config.d/pub.conf | |||||||
| RUN echo "AuthorizedKeysFile  .ssh/authorized_keys" >> /etc/ssh/sshd_config.d/pub.conf | RUN echo "AuthorizedKeysFile  .ssh/authorized_keys" >> /etc/ssh/sshd_config.d/pub.conf | ||||||
| 
 | 
 | ||||||
| RUN mkdir -p /var/www/html | RUN mkdir -p /var/www/html | ||||||
|  | RUN chown -R /var/www/html | ||||||
| RUN mkdir -p /home/test/.ssh | RUN mkdir -p /home/test/.ssh | ||||||
| RUN echo "$SSH_PUB_KEY" > /home/test/.ssh/authorized_keys | RUN echo "$SSH_PUB_KEY" > /home/test/.ssh/authorized_keys | ||||||
| RUN chmod 700 /home/test/.ssh | RUN chmod 700 /home/test/.ssh | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Dragan Filipovic
						Dragan Filipovic