Skip to content

Instantly share code, notes, and snippets.

@ultreson
ultreson / create_ssh
Created August 15, 2020 23:01 — forked from robkorv/create_ssh
generate ssh bash script
#!/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
@ultreson
ultreson / howto-forward-x11-to-win10-via-putty-git-bash-vcxsrv.md
Last active August 15, 2020 19:56 — forked from vietlq/howto-forward-x11-to-win10-via-putty-vcxsrv.md
Code2Pro: How to Forward X11 to Windows 10 via PuTTY / Git Bash & vcxsrv

Code2Pro: How to Forward X11 to Windows 10 via git bash & vcxsrv

Scope

Tested on Windows 10 & Ubuntu 16.

Steps

  1. Check that sshd on Ubuntu is properly configured