Tag: ssh

ssh: connect to host github.com port 22: Network is unreachable after copying VM to another host machine

I have just copied my Vagrant VM from one host machine to another. Both machines are running Windows 7. One the machine I copied the VM to I get the following error when attempting to access Github. The repo definitely exists and I have the exact same Git config on the original machine. Why would […]

how to add deploy key for 2 repo with 1 user on github

I create a deploy user, generate an ssh_key, I add id_rsa.pub as github deploy key. this deploy user need pull 2 repo, so I add the same ssh_key to another repo as deploy key. but github tell me, deploy key already in use. and I don’t know how add 2 id_rsa.pub for 1 user. update: […]

How do I connect IntelliJ to GitHub using SSH

I have successfully configured my GitHub client to use SSH, and received the confirmatory email from GitHub that a new SSH key was added. I would like to setup IntelliJ to use SSH as well, so that I don’t have to enter my Username and Password every time I interact with GitHub. I also don’t […]

ssh,github,it doesnot work

i am sure i upload my ssh key to github, and i also give the folder and file right permition. but i still got this. anyidea? ➜ python-google ssh -vT github.com OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration data /etc/ssh_config debug1: Applying options for * debug1: Connecting to github.com [] port 22. debug1: […]

What is Pseudo TTY-Allocation? (SSH and Github)

I was trying to setup an SSH connection with Github following this tutorial:https://help.github.com/articles/generating-ssh-keys I came across the following command: $ ssh -T git@github.com # Attempts to ssh to github Curious, I looked at the ssh manual. It said the following: -T Disable pseudo-tty allocation. What is tty allocation? What does tty stand for? Why are […]

Trying to clone from github to VM on google cloud compute engine

Im running a VM instance on google cloud compute engine, trying to clone a repsitory on github onto it i get the folowing: Cloning into ‘Up’… fatal: unable to access ‘https://github.com/MyAccount/project.git/’: Could not resolve host: github.com` It’s running on ubuntu 16.10 and i have checked both the firewall exceptions in the cloud console. It is […]

Capistrano and GitHub Private Repo – Permission denied (publickey)

I’ve inherited a Rails project, hosted on Linode. The previous developer was using a BitBucket repository, along with Capistrano for deployments. I’ve since setup a private repository on GitHub, and I’m trying to get the Capistrano recipe to work. I’m having no luck. I continue to get a publickey error during deployment. Here are the […]

HowTo: Teamcity + GitHub

Has anybody successfully configured Teamcity to monitor, extract, and build from GitHub? I can’t seem to figure how where and how to configure the SSH keys for Teamcity. I have Teamcity running as a system service, under a system account. So where does Teamcity stash its SSH configuration? EDIT To get this to work, I […]

SSH Agent Forwarding not working

I’m having an hard time trying to configure Capistrano 3.1 to deploy an app hosted on Github. I’m following Capistrano Documentation and I have successfully completed the first step (SSH keys from workstation to servers) and on the second one (From our servers to the repository host) I’m able to successfully run ssh -A deploy@one-of-my-servers.com […]

Using cURL to send JSON within a BASH script

Alright, here’s what I’m trying to do. I’m attempting to write a quick build script in bash that will check out a private repository from GitHub on a remote server. To do this a “hands off” as possible, I want to generate a local RSA key set on the remote server and add the public […]

Git Baby is a git and github fan, let's start git clone.