notes/config/ssh/change-mod.sh

7 lines
89 B
Bash

#!/bin/bash
set -x
ssh_path=$HOME/.ssh
chmod 644 $ssh_path/*
chmod 600 $ssh_path/id_rsa