Skip to content

Instantly share code, notes, and snippets.

@jwinder
Created June 26, 2013 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwinder/5872722 to your computer and use it in GitHub Desktop.
Save jwinder/5872722 to your computer and use it in GitHub Desktop.
(defun ssh-copy-id (username host)
(interactive "sUsername: \nsHost: ")
(shell-command (format "ssh-copy-id %s@%s" username host)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment