create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
from urlparse import urlsplit, urlunsplit | |
from django import template | |
from django.http import QueryDict | |
register = template.Library() | |
@register.simple_tag | |
def url_add_query(url, **kwargs): | |
""" |
import psycopg2 | |
from sshtunnel import SSHTunnelForwarder | |
# For interactive work (on ipython) it's easier to work with explicit objects | |
# instead of contexts. | |
# Create an SSH tunnel | |
tunnel = SSHTunnelForwarder( | |
('128.199.169.188', 22), | |
ssh_username='<username>', |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"