310 lines
6.3 KiB
Markdown
310 lines
6.3 KiB
Markdown
# Credenciais e Conexoes - Consolidado
|
|
|
|
## Arquivos em ~/.ssh/
|
|
|
|
### Chaves SSH Privadas
|
|
|
|
| Arquivo | Tipo | Uso | Status |
|
|
|---------|------|-----|--------|
|
|
| `github` | ed25519 | GitHub | ✅ OK |
|
|
| `civo` | ed25519 | Redbull, Echo, NC2 | ✅ OK |
|
|
| `lh-zeus` | ed25519 | Disponivel | - |
|
|
| `ic-ad` | RSA | Azure DevOps | ❌ Nao registrada |
|
|
| `bionexo` | ed25519 | Bitbucket | ✅ OK |
|
|
| `civo-object-storage` | Civo S3 Keys |
|
|
| `app01-rabbitmq-beecare-origin` | ed25519 | Beecare | - |
|
|
|
|
### Chaves SSH Publicas
|
|
|
|
| Arquivo |
|
|
|---------|
|
|
| `github.pub` |
|
|
| `civo.pub` |
|
|
| `lh-zeus.pub` |
|
|
| `ic-ad.pub` |
|
|
| `bionexo.pub` |
|
|
|
|
### Arquivos de Configuracao
|
|
|
|
| Arquivo | Conteudo |
|
|
|---------|----------|
|
|
| `config` | Hosts SSH configurados |
|
|
| `azure_devops_auth.json` | Azure DevOps PAT |
|
|
| `github-token` | GitHub API Token |
|
|
| `mxroute-api-key` | MXRoute Email API |
|
|
| `cloudflare-token` | Cloudflare API Key |
|
|
| `known_hosts` | Fingerprints conhecidos |
|
|
| `known_hosts.old` | Backup fingerprints |
|
|
| `authorized_keys` | Vazio |
|
|
| `agent/` | Diretorio agent |
|
|
|
|
---
|
|
|
|
## Status das Conexoes
|
|
|
|
| Servico | Status | Obs |
|
|
|---------|--------|-----|
|
|
| GitHub | ✅ OK | tiagoyamamoto |
|
|
| Bitbucket | ✅ OK | Bionexo |
|
|
| Redbull | ✅ OK | Coolify |
|
|
| Echo | ✅ OK | Dokku |
|
|
| NC2 | ✅ OK | Contabo |
|
|
| OCI CLI | ✅ OK | Conectado |
|
|
| Forgejo | ✅ OK | API apenas |
|
|
| MXRoute | ✅ OK | Email API |
|
|
| Cloudflare | ✅ OK | DNS/Proxy API |
|
|
| Coolify | ✅ OK | PaaS API |
|
|
| Azure DevOps | ❌ FAIL | Registrar ic-ad.pub |
|
|
| OCI CLI | ✅ OK | Conectado |
|
|
| Civo Object Storage | ❌ FAIL | Erro de autenticação |
|
|
|
|
---
|
|
|
|
## Azure DevOps
|
|
|
|
**Arquivo:** `~/.ssh/azure_devops_auth.json`
|
|
|
|
| Propriedade | Valor |
|
|
|-------------|-------|
|
|
| Organization | CN-Squad |
|
|
| Project | Invista FIDC - Nexus |
|
|
| PAT | Ver arquivo |
|
|
|
|
**Acao necessaria:** Registrar `~/.ssh/ic-ad.pub` no Azure DevOps
|
|
|
|
---
|
|
|
|
## Servidores VPS
|
|
|
|
### Redbull (Coolify DEV)
|
|
|
|
| Propriedade | Valor |
|
|
|-------------|-------|
|
|
| IP | `185.194.141.70` |
|
|
| Hostname | v2202508247812376908 |
|
|
| Plataforma | Coolify v4 |
|
|
| Chave SSH | `civo` |
|
|
|
|
### Echo (Dokku PROD)
|
|
|
|
| Propriedade | Valor |
|
|
|-------------|-------|
|
|
| IP | `152.53.120.181` |
|
|
| Hostname | v2202501247812309542 |
|
|
| Plataforma | Dokku |
|
|
| Chave SSH | `civo` |
|
|
|
|
### NC2 (Contabo)
|
|
|
|
| Propriedade | Valor |
|
|
|-------------|-------|
|
|
| IP | `212.56.41.211` |
|
|
| Hostname | vmi2943543.contaboserver.net |
|
|
| Provedor | Contabo Inc. |
|
|
| Localizacao | St. Louis, MO, EUA |
|
|
| OS | AlmaLinux 9.7 |
|
|
| Chave SSH | `civo` |
|
|
|
|
**Servicos:** PostgreSQL 17, Redis, Traefik, Glances, K3s agent
|
|
|
|
---
|
|
|
|
## Oracle Cloud Infrastructure (OCI)
|
|
|
|
Ver documentacao em `OCI.md`
|
|
|
|
---
|
|
|
|
## Cloudflare
|
|
|
|
**Status:** ✅ OK
|
|
|
|
| Zone | Zone ID |
|
|
|------|---------|
|
|
| gohorsejobs.com | `5e7e9286849525abf7f30b451b7964ac` |
|
|
| rede5.com.br | `7eb6587a2c867bb9743719a8fabcd455` |
|
|
|
|
---
|
|
|
|
## Coolify (Redbull)
|
|
|
|
**Status:** ✅ OK
|
|
|
|
| Propriedade | Valor |
|
|
|-------------|-------|
|
|
| URL | https://redbull.rede5.com.br |
|
|
| API | https://redbull.rede5.com.br/api/v1 |
|
|
| Token | Ver arquivo ~/.ssh/coolify-redbull-token |
|
|
|
|
---
|
|
|
|
## Absam Cloud Database
|
|
|
|
**Status:** ❌ Tokens nao encontrados
|
|
|
|
| Propriedade | Valor |
|
|
|-------------|-------|
|
|
| Host | db-60604.dc-us-1.absamcloud.com |
|
|
| Porta PostgreSQL | 11985 |
|
|
| Porta SSH | 18863 |
|
|
|
|
---
|
|
|
|
## Civo Object Storage
|
|
|
|
**Arquivo:** `~/.ssh/civo-object-storage`
|
|
|
|
| Propriedade | Valor |
|
|
|-------------|-------|
|
|
| Endpoint | https://objectstore.nyc1.civo.com |
|
|
| Bucket | rede5 |
|
|
| Access Key | Ver arquivo |
|
|
| Secret Key | Ver arquivo |
|
|
| Region | NYC1 |
|
|
|
|
### Uso
|
|
|
|
```bash
|
|
# Configurar aws cli ou s3cmd
|
|
# ~/.aws/credentials:
|
|
# [civo]
|
|
# aws_access_key_id = <ACCESS_KEY>
|
|
# aws_secret_access_key = <SECRET_KEY>
|
|
|
|
# S3CMD config:
|
|
# ~/.s3cfg:
|
|
# access_key = <ACCESS_KEY>
|
|
# secret_key = <SECRET_KEY>
|
|
# host_base = objectstore.nyc1.civo.com
|
|
# host_bucket = objectstore.nyc1.civo.com
|
|
|
|
# Upload
|
|
aws s3 cp ~/.ssh/ s3://rede5/vault/ssh/ --recursive --endpoint-url https://objectstore.nyc1.civo.com
|
|
|
|
# Download
|
|
aws s3 sync s3://rede5/vault/ssh/ ~/.ssh/ --endpoint-url https://objectstore.nyc1.civo.com
|
|
```
|
|
|
|
### Backup
|
|
|
|
Backup das credenciais SSH em: `s3://rede5/vault/ssh/`
|
|
|
|
---
|
|
|
|
## GitHub
|
|
|
|
**Arquivo Token:** `~/.ssh/github-token`
|
|
|
|
**Chave SSH:** `~/.ssh/github` / `~/.ssh/github.pub`
|
|
|
|
| Propriedade | Valor |
|
|
|-------------|-------|
|
|
| Usuario | tiagoyamamoto |
|
|
| Nome | Tiago Yamamoto |
|
|
| Company | Rede5 |
|
|
| Location | Goiania |
|
|
| Public Repos | 56 |
|
|
| Private Repos | 125 |
|
|
|
|
**Status:** ✅ OK - SSH + API funcionando
|
|
|
|
### Uso SSH
|
|
|
|
```bash
|
|
ssh -T git@github.com
|
|
git clone git@github.com:tiagoyamamoto/<repo>.git
|
|
```
|
|
|
|
### Uso API
|
|
|
|
```bash
|
|
GH_TOKEN=$(cat ~/.ssh/github-token)
|
|
|
|
# Usuario atual
|
|
curl -H "Authorization: token $GH_TOKEN" "https://api.github.com/user"
|
|
|
|
# Listar repositorios
|
|
curl -H "Authorization: token $GH_TOKEN" "https://api.github.com/user/repos?per_page=100"
|
|
|
|
# Clone via HTTPS com token
|
|
git clone https://tiagoyamamoto:$GH_TOKEN@github.com/<owner>/<repo>.git
|
|
```
|
|
|
|
---
|
|
|
|
## Bitbucket (Bionexo)
|
|
|
|
| Propriedade | Valor |
|
|
|-------------|-------|
|
|
| Chave SSH | `bionexo` |
|
|
| Status | ✅ OK |
|
|
|
|
---
|
|
|
|
## MXRoute Email
|
|
|
|
**Arquivo:** `~/.ssh/mxroute-api-key`
|
|
|
|
| Propriedade | Valor |
|
|
|-------------|-------|
|
|
| Server | everest.mxrouting.net |
|
|
| Username | net5cloud |
|
|
| API Key | Ver arquivo |
|
|
|
|
### Dominios
|
|
|
|
- bjtechnology.net
|
|
- brunoteodoropersonal.com.br
|
|
- deltasunpower.com
|
|
- gohorsejobs.com
|
|
- photum.app.br
|
|
- q1agenda.com.br
|
|
- q1food.com
|
|
- q1site.com.br
|
|
- q1store.me
|
|
- rede5.com.br
|
|
- saveinmed.com.br
|
|
- sepdistribuidora.com.br
|
|
- sextando.com.br
|
|
|
|
### Uso
|
|
|
|
```bash
|
|
# Listar dominios
|
|
curl -X GET "https://api.mxroute.com/domains" \
|
|
-H "X-Server: everest.mxrouting.net" \
|
|
-H "X-Username: net5cloud" \
|
|
-H "X-API-Key: <API_KEY>"
|
|
|
|
# Listar contas de email de um dominio
|
|
curl -X GET "https://api.mxroute.com/accounts/<dominio>" \
|
|
-H "X-Server: everest.mxrouting.net" \
|
|
-H "X-Username: net5cloud" \
|
|
-H "X-API-Key: <API_KEY>"
|
|
```
|
|
|
|
---
|
|
|
|
## Arquivos Faltando
|
|
|
|
| Arquivo | Necessario para | Status |
|
|
|---------|-----------------|--------|
|
|
| `ic-ad.pub` | Azure DevOps | Registrar |
|
|
| `oci_api_key` | OCI CLI | Verificar usuário TiagoRibeiro |
|
|
|
|
---
|
|
|
|
## Servidores Desativados
|
|
|
|
| Host | IP | Status |
|
|
|------|-----|--------|
|
|
| civo | 212.2.242.136 | OFFLINE |
|
|
| posseidon | 45.39.210.21 | OFFLINE |
|
|
| apolo | 45.143.7.55 | OFFLINE |
|
|
| zeus | 45.39.210.92 | OFFLINE |
|
|
| vim | 38.19.201.52 | REMOVIDO |
|
|
| forgejo-gru | forgejo-gru.rede5.com.br:2323 | REMOVIDO |
|
|
|
|
---
|
|
|
|
*Atualizado em: 2026-02-21*
|