Skip to content

Instantly share code, notes, and snippets.

@jwinder
Created June 26, 2013 23:33
Show Gist options
  • 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