Skip to content

Instantly share code, notes, and snippets.

View csaladenes's full-sized avatar

Dénes Csala csaladenes

View GitHub Profile
@csaladenes
csaladenes / ssh-copy-id.py
Last active February 17, 2024 11:52 — forked from ceilfors/ssh-copy-id.py
ssh-copy-id for Windows with custom port
"""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