ssh agent forwarding for github deploys
Kept receiving these errors when trying to execute commands on the remote server, ( with capistrano ) while forwarding my SSH keys:
Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
This link offered the solution. I ran:
and the output was:
The agent has no identities.
Then, I’ve added the key:
Confirmed that it appears in ssh-add -L:
And after this step, the ssh key was properly forwarded.
configuring a pry console
It’s useful to know that if you do any kind of setup, or initialize any variables, they will be available in the pry console as well.
ruby configuration info
A lot of useful information can be found in the
hash. For example,
the host os:1
RbConfig::Config
extracting public ssh key from private ssh key
In which we find out how to extract a public key from a private key file
cannot load such file -- rvm chef vagrant
In which I discover that I should pass GEM_PATH to a runit controller service in order to have my gems loaded
eventmachine 1.0.3 in osx
Fix for the error:
In file included from binder.cpp:20: ./project.h:107:10: fatal error: ‘openssl/ssl.h’ file not found