Comments (6)
Here is the debug for the SSH connection from server A (prod) to server B :
OpenSSH_7.9p1 Debian-10+deb10u2, OpenSSL 1.1.1d
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to domain [IP] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/id_borg_ed25519 type 3
debug1: identity file /root/.ssh/id_borg_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.9p1 Debian-10+deb10u2
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.9p1 Debian-10+deb10u2
debug1: match: OpenSSH_7.9p1 Debian-10+deb10u2 pat OpenSSH* compat 0x04000000
debug1: Authenticating to domain:22 as 'USER'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: [email protected]
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:KEY
debug1: Host 'domain' is known and matches the ECDSA host key.
debug1: Found key in /root/.ssh/known_hosts:1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Will attempt key: /root/.ssh/id_borg_ed25519 ED25519 SHA256:KEY explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
Debian GNU/Linux 10
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /root/.ssh/id_borg_ed25519 ED25519 SHA256:KEY explicit
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: password
from borg_ynh.
After testing on another server with similar config, I'm able to reach SSH and login, but I get the following error:
PTY allocation request failed on channel 0
debug1: channel 0: free: client-session, nchannels 1
from borg_ynh.
More information after checking on server /var/log/auth.log
no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman
What is the algorythm used to generated the keys ?
from borg_ynh.
ed25519 : per
Line 66 in b11c75d
from borg_ynh.
ed25519 : per
Line 66 in b11c75d
OK thanks, it seems both servers have this algorythm
from borg_ynh.
I don't know why
I get a password prompt, which should not happen, since I'm using RSA keys.
ARe you sure it's not the passphrase request for openning the borg repo ?
from borg_ynh.
Related Issues (20)
- The backup miserably failed to backup HOT 4
- Borg fails after migration to bullseye HOT 4
- Add a "Manual backup" option" / Possibilité de lancer la sauvegarde manuellement HOT 1
- Updating repo path with config panel does not update domain in backup hook
- Borg not sending app data HOT 15
- [Enhancement] Cache TTL environment variable
- Implement auto-updater
- [Enhancement] Borg keep processing unchanged files as new files HOT 2
- config panel broken HOT 3
- Feature request : Prune in config panel HOT 1
- Seems to fail to backup wireguard app HOT 7
- Memo in case of upgrade >= 1.2.5 HOT 1
- Architecture: Ability to host multiple versions side-by-side
- Add multiple destinations
- Documentation innacurate HOT 5
- Multiple backup-with-borg instances
- Config panel not showing despite working app HOT 8
- Please document the use of backup-with-borg HOT 1
- /var/log/backup_borg.err should be rotated HOT 2
- Borg fails when file changes on disk during archive creation HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from borg_ynh.