File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,4 +48,5 @@ CMD ["/app/bin/boot"]
4848EXPOSE 22
4949
5050ADD . /app
51+ ADD sshd_config /etc/ssh/sshd_config
5152RUN chown -R root:root /app
Original file line number Diff line number Diff line change 1+ Port 22
2+ Protocol 2
3+ HostKey /etc/ssh/ssh_host_rsa_key
4+ HostKey /etc/ssh/ssh_host_dsa_key
5+ HostKey /etc/ssh/ssh_host_ecdsa_key
6+ UsePrivilegeSeparation yes
7+ KeyRegenerationInterval 3600
8+ ServerKeyBits 768
9+ SyslogFacility AUTH
10+ LogLevel INFO
11+ LoginGraceTime 120
12+ PermitRootLogin yes
13+ StrictModes yes
14+ RSAAuthentication yes
15+ PubkeyAuthentication yes
16+ IgnoreRhosts yes
17+ RhostsRSAAuthentication no
18+ HostbasedAuthentication no
19+ PermitEmptyPasswords no
20+ ChallengeResponseAuthentication no
21+ PasswordAuthentication no
22+ X11Forwarding no
23+ X11DisplayOffset 10
24+ PrintMotd no
25+ PrintLastLog yes
26+ TCPKeepAlive yes
27+ AcceptEnv LANG LC_*
28+ Subsystem sftp /usr/lib/openssh/sftp-server
29+ UsePAM yes
You can’t perform that action at this time.
0 commit comments