shell-things/etc/ssh/copy

6 lines
162 B
Plaintext
Raw Normal View History

2015-09-01 16:31:42 +02:00
#!/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