Last active
August 29, 2015 14:15
-
-
Save dacap/cc9dbf1e1ac46b1ad9ae to your computer and use it in GitHub Desktop.
Azure SSH Broken pipe at East US 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
azure network reserved-ip create vmname1-reserved-ip "West Europe" | |
azure vm create ` | |
--location "West Europe" ` | |
--userName username ` | |
--ssh 22 ` | |
--ssh-cert mypublickey.pem ` | |
--no-ssh-password ` | |
--reserved-ip vmname1-reserved-ip ` | |
--vm-size Small ` | |
--vm-name vmname1 ` | |
vmname1 b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20150123-en-us-30GB | |
azure network reserved-ip create vmname2-reserved-ip "East US 2" | |
azure vm create ` | |
--location "East US 2" ` | |
--userName username ` | |
--ssh 22 ` | |
--ssh-cert mypublickey.pem ` | |
--no-ssh-password ` | |
--reserved-ip vmname2-reserved-ip ` | |
--vm-size Small ` | |
--vm-name vmname2 ` | |
vmname2 b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20150123-en-us-30GB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
sudo apt-get -q -y update | |
sudo apt-get -q -y install git | |
mkdir ~/repo | |
git init --bare ~/repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pushing to ssh://username@vmname2.cloudapp.net/home/username/repo | |
FATAL ERROR: Network error: Software caused connection abort | |
fatal: sha1 file '<stdout>' write error: Broken pipe | |
fatal: The remote end hung up unexpectedly | |
error: failed to push some refs to 'ssh://username@vmname2.cloudapp.net/home/username/repo' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment