mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 14:49:31 +01:00
etc/ssh: add copy script
This commit is contained in:
parent
25bf96e30a
commit
c2c0c4fa08
5
etc/ssh/copy
Executable file
5
etc/ssh/copy
Executable 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
|
Loading…
Reference in New Issue
Block a user