11 lines
193 B
Bash
11 lines
193 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
echo "Configuring SSH..."
|
||
|
|
||
|
mkdir -p ~/.ssh
|
||
|
cp _ssh_config ~/.ssh/config
|
||
|
cp _ssh_pub ~/.ssh/authorized_keys
|
||
|
chmod 700 ~/.ssh
|
||
|
chmod 644 ~/.ssh/authorized_keys
|
||
|
chmod 644 ~/.ssh/config
|