Skip to content

Instantly share code, notes, and snippets.

@ecton
Created March 27, 2017 16:12
Show Gist options
  • Save ecton/9cee9cee045b93fc3c8bcca9c76c85eb to your computer and use it in GitHub Desktop.
Save ecton/9cee9cee045b93fc3c8bcca9c76c85eb to your computer and use it in GitHub Desktop.
SSH from Powershell
function ssh {
$host.ui.rawui.WindowTitle = "ssh $args"
C:\Windows\system32\bash.exe -l -c "ssh $args"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment