ubuntuusers.de

Ubuntu Server mit Dropbear und Vollverschlüsselung

Status: Ungelöst | Ubuntu-Version: Server 20.04 (Focal Fossa)
Antworten |

Morta1985

Anmeldungsdatum:
9. September 2012

Beiträge: 6

Hallo zusammen!

Ich habe einen Hetzner Server mit Vollverschlüssung.

Nach diesem Tutotial habe ich gemacht.

https://community.hetzner.com/tutorials/install-ubuntu-2004-with-full-disk-encryption/de

Nun habe ich in den Rescue Mode gebooted und den Dropbear Schlüssel überprüft der stimmt mit meinem id_rsa.pub Schlüssel überein doch wenn ich mich einloggen will passiert folgendes, wenn er wieder Live ist.

[root@lapt0p .ssh]# ssh -i /root/.ssh/id_rsa.pub -4 root@mailserver.joelmueller.ch
root@mailserver.joelmueller.ch: Permission denied (publickey).
[root@lapt0p .ssh]# ssh -i /root/.ssh/id_rsa.pub -v4 root@mailserver.joelmueller.ch
OpenSSH_9.2p1, OpenSSL 3.0.8 7 Feb 2023
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to mailserver.joelmueller.ch [138.201.130.115] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/id_rsa.pub type 0
debug1: identity file /root/.ssh/id_rsa.pub-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.2
debug1: Remote protocol version 2.0, remote software version dropbear_2020.81
debug1: compat_banner: no match: dropbear_2020.81
debug1: Authenticating to mailserver.joelmueller.ch:22 as 'root'
debug1: load_hostkeys: fopen /root/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:68SWo6aQZzTCRsbFc/m/6wwxAMs0i9ZOnPB5Jwv0whs
debug1: load_hostkeys: fopen /root/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'mailserver.joelmueller.ch' is known and matches the ED25519 host key.
debug1: Found key in /root/.ssh/known_hosts:11
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: agent returned 1 keys
debug1: Will attempt key: morta@lapt0p RSA SHA256:+dE8zf367Id5gjxq/Wi5UAFsZ11MJTiVGs2esD/ApB0 agent
debug1: Will attempt key: /root/.ssh/id_rsa.pub RSA SHA256:LtglThwosQqCgjEoZT7fPI4fByCHNFf9nNGD43o9NNQ explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,ssh-rsa,ssh-dss>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: morta@lapt0p RSA SHA256:+dE8zf367Id5gjxq/Wi5UAFsZ11MJTiVGs2esD/ApB0 agent
debug1: Authentications that can continue: publickey
debug1: Offering public key: /root/.ssh/id_rsa.pub RSA SHA256:LtglThwosQqCgjEoZT7fPI4fByCHNFf9nNGD43o9NNQ explicit
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
root@mailserver.joelmueller.ch: Permission denied (publickey).

Was mach ich falsch? Gruss Morta

Antworten |