- Ubuntu: sudo apt-get install putty-tools
- Debian-like: apt-get install putty-tools
- RPM based: dnf install putty or yum install putty
- puttygen id_dsa.ppk -O private-openssh -o id_dsa
- puttygen id_dsa.ppk -O public-openssh -o id_dsa.pub
ssh_dir="~/.ssh"
if [ ! -d "$ssh_dir" ]; then mkdir -p "$directory" fi
- Copy keys to ~/.ssh
- chmod 600 ~/.ssh/id_dsa
- chmod 666 ~/.ssh/id_dsa.pub