Skip to content

Instantly share code, notes, and snippets.

@alwerner
Created August 13, 2012 15:28
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 alwerner/3341860 to your computer and use it in GitHub Desktop.
Save alwerner/3341860 to your computer and use it in GitHub Desktop.
SFTP with public key
host ftp.example.com
IdentityFile ~/.ssh/key-for-example.pem
HostName example.com
User foo
# Source: http://fetchsoftworks.com/fetch/messageboard/sftp-with-public-key-how
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment