Skip to content

Instantly share code, notes, and snippets.

Avatar

Dénes Csala csaladenes

View GitHub Profile
@csaladenes
csaladenes / ssh-copy-id.py
Last active Oct 7, 2019 — forked from ceilfors/ssh-copy-id.py
ssh-copy-id for Windows with custom port
View ssh-copy-id.py
"""ssh-copy-id for Windows.
Example usage: python ssh-copy-id.py ceilfors@my-remote-machine
This script is dependent on msysgit by default as it requires scp and ssh.
For convenience you can also try that comes http://bliker.github.io/cmder/.
"""
import argparse, os
from subprocess import call