shell-things/etc/ssh/copy

8 lines
176 B
Plaintext
Raw Normal View History

2015-09-01 16:31:42 +02:00
#!/usr/bin/env bash
2015-09-01 16:32:56 +02:00
set -x
2015-09-01 16:31:42 +02:00
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
2015-09-01 16:32:56 +02:00
set +x