ssh


Composer not using key set through SSH agent forwarding


I'm using SSH agent forwarding with my Vagrant box. It looks like this is set up correctly, as I can successfully perform a git clone on my private repository:
$ git clone git#github.com:myorganisation/myrepo.git
Cloning into 'myrepo'...
This repository also features in my composer.json:
{
"type": "vcs",
"url": "git#github.com:myorganisation/myrepo.git"
},
However when I run composer update under the same user, I get an error indicating that I'm unauthenticated:
The "https://api.github.com/repos/com:myorganisation/myrepo" file could not be downloaded (HTTP/1.1 404 Not Found)
How can I instruct Composer to use my forwarded key?
I sorted this by adding the no-api option:
{
"type": "vcs",
"no-api": true,
"url": "git#github.com:myorganisation/myrepo.git"
}

Related Links

SSH Key Authentication [Hesitance?]
Vim cursor shape depending on current mode
Proxy / ServiceBus / Reverse SSH
VisualVM over ssh
How to send SIGINT to a remote process over SSH?
VSFTPD on windows and other issue
Copy files from subfolder to folder using SSH
running command on remote machine using ssh
How do two machines authenticate over an SSH connection?
Calling fgets() on popen() of 'ssh' is flushing the beginning of stdin of the calling process (ptty issue)
Are there ways of doing opendir(), readdir() type of calls through SSH/SFTP?
ssh hangs with high latency connection (connecting internationally)
How to keep ssh-keygen from using my login and computer name in the public key?
how to get ssh to use a different id_dsa
cygwin ssh no putty yes?
ssh -D <port> <username#server.com>; but in reverse? [closed]

Categories

HOME
gcc
kendo-ui-angular2
opencv4android
stdout
artifactory
symfony-sonata
thermal-printer
confluence-rest-api
richtextbox
autocad
travis-ci-cli
rmarkdown
revit-api
promotions
rtc
ionic-native
aspectj
osclass
mongodb-replica-set
web-testing
amazon-data-pipeline
django-rest-auth
ampscript
gomobile
bug-reporting
ejb-3.1
dev-c++
aws-iot
uipath
poisson
aws-certificate-manager
javapns
foxpro
luhn
eclipse-jdt
webclient
perf
kofax
realloc
oracle-bpm-suite
lex
instances
mediastream
ninja-forms
server-side-swift
azure-web-roles
android-graphview
jquery-ui-slider
php-mongodb
peerjs
firefox-developer-edition
text-extraction
gradlew
gridgain
html-entities
ack
serverless-architecture
ionic2-select
flask-socketio
lucee
extjs3
visio-2010
wink
bioperl
try-catch-finally
optional-parameters
glade
indoor-positioning-system
networkstream
jira-agile
falcon
avaudiorecorder
shtml
firefox-os
newlib
angular-promise
pushwoosh
shunting-yard
fedena
os.walk
nsurlrequest
parsefloat
pnunit
dotcmis
parallel-port
visual-c#-express-2010
pidgin
nomachine
friendly-id
myrrix
kendo-window
zend-db-table
angularjs-select2
auctex
blotter
boost.build
antixsslibrary
django-tinymce
qt5.1
yii-components
gssapi
socketasynceventargs
wxperl
jqueryi-ui-buttonset
sqlbuddy
pinchzoom
project-files
code-organization
capitalization
virtual-printer
session-hijacking
xhtmlrenderer
netduino
netbeans7.0
rollover
azure-appfabric
text-manipulation
table-valued-parameters
carbon-emacs
appointment
qlibrary
cons

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile