Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
| odoo_sh [2024/02/27 11:10] – ivan | odoo_sh [2024/02/27 15:48] (actual) – ivan | ||
|---|---|---|---|
| Línea 1: | Línea 1: | ||
| - | |||
| - | |||
| ====== Connect Odoo.SH ====== | ====== Connect Odoo.SH ====== | ||
| Línea 7: | Línea 5: | ||
| A workaround is to use the following ssh client option: | A workaround is to use the following ssh client option: | ||
| + | <code bash> | ||
| -oPubkeyAcceptedKeyTypes=+ssh-rsa | -oPubkeyAcceptedKeyTypes=+ssh-rsa | ||
| + | </ | ||
| However this option actually bypasses the latest security patch made on openssh clients, so this option is considered insecure and should be seen as a temporary workaround. A better alternative would be to switch to the newer and safer ED25519 key types. | However this option actually bypasses the latest security patch made on openssh clients, so this option is considered insecure and should be seen as a temporary workaround. A better alternative would be to switch to the newer and safer ED25519 key types. | ||
| + | <code bash> | ||
| + | env | grep PG | ||
| + | </ | ||
| + | <code bash> | ||
| + | PGUSER=usuario | ||
| + | PGPASSWORD=contraseña | ||
| + | PGDATABASE=db | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | ssh -v -L 54320: | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | ssh-keygen -t ed25519 | ||
| + | </ | ||