etc/ssh: add copy script

This commit is contained in:
Aminda Suomalainen 2015-09-01 17:31:42 +03:00
parent 25bf96e30a
commit c2c0c4fa08
1 changed files with 5 additions and 0 deletions

5
etc/ssh/copy Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
mkdir -p /etc/ssh
cat ssh_config > /etc/ssh/ssh_config
cat sshd_config > /etc/ssh/sshd_config
chmod a-x,u+rw,g+r-w,o+r-w /etc/ssh/ssh?_config