ssh
This commit is contained in:
parent
3d52cdbb4e
commit
6bf6da88c9
3
3_ssh.sh
3
3_ssh.sh
@ -3,8 +3,7 @@
|
||||
echo "Configuring SSH..."
|
||||
|
||||
mkdir -p ~/.ssh
|
||||
cp _ssh_config ~/.ssh/config
|
||||
cp _ssh_pub ~/.ssh/authorized_keys
|
||||
cat ssh_pub >> ~/.ssh/authorized_keys
|
||||
chmod 700 ~/.ssh
|
||||
chmod 644 ~/.ssh/authorized_keys
|
||||
chmod 644 ~/.ssh/config
|
||||
|
19
_ssh_config
19
_ssh_config
@ -1,19 +0,0 @@
|
||||
Host pancake
|
||||
HostName pancake.rcs.uwaterloo.ca
|
||||
User oscar
|
||||
Port 77
|
||||
|
||||
Host goose
|
||||
HostName goose.quacker.org
|
||||
User quacker
|
||||
Port 29
|
||||
|
||||
Host parrot
|
||||
HostName parrot.quacker.org
|
||||
User quacker
|
||||
Port 29
|
||||
|
||||
Host strange
|
||||
HostName strange.rcs.uwaterloo.ca
|
||||
User oscar
|
||||
Port 77
|
Loading…
x
Reference in New Issue
Block a user