If you see Access denied, or other error messages when trying to access a git repository or SSH server, here are some steps you can take to resolve the problem.
When in doubt, run ssh -vvv <other options...> to enable more verbose logging.
| if [ ! -f .env ] | |
| then | |
| export $(cat .env | xargs) | |
| fi |
| # set environment vars from an .env file | |
| export $(grep -v '^#' .myenvfile | xargs) | |
| # unset environment vars from an .env file | |
| unset $(grep -v '^#' .myenvfile | awk 'BEGIN { FS = "=" } ; { print $1 }') |
| #!/bin/bash | |
| # generate new personal ed25519 ssh key | |
| ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <rthijssen@gmail.com>" | |
| # generate new host cert authority (host_ca) ed25519 ssh key | |
| # used for signing host keys and creating host certs | |
| ssh-keygen -t ed25519 -f manta_host_ca -C manta.network | |
| eval "$(ssh-agent -s)" |
If you see Access denied, or other error messages when trying to access a git repository or SSH server, here are some steps you can take to resolve the problem.
When in doubt, run ssh -vvv <other options...> to enable more verbose logging.