privateone commited on
Commit
d93f4c8
·
verified ·
1 Parent(s): 7875fde

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -52,7 +52,8 @@ RUN cp /app/sshd_config /etc/ssh/sshd_config # && cat /etc/ssh/sshd_config
52
  RUN touch /etc/ssh/ssh_known_hosts &&\
53
  touch /etc/ssh/known_hosts
54
 
55
- RUN chmod -R 1777 /etc/ssh/*
 
56
 
57
 
58
 
 
52
  RUN touch /etc/ssh/ssh_known_hosts &&\
53
  touch /etc/ssh/known_hosts
54
 
55
+ RUN chmod -R 777 /etc/ssh/* && \
56
+ chown -R admin:admin /etc/ssh
57
 
58
 
59