Tested on Windows 10 & Ubuntu 16.
- Check that sshd on Ubuntu is properly configured
#!/bin/sh | |
# https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/ | |
# ./create_ssh me@example.com mygit <-- creates ~/.ssh/mygit_rsa.pub and ~/.ssh/mygit_rsa | |
if [ -n "$1" ]; then | |
COMMENT=$1 | |
else | |
COMMENT=$USER | |
fi |