1

Topic: Cant login ssh private key

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi all,

im trying to connect with ssh to iredadmin. Connection to the adminportal works great.
Im trying to do this with my private key. After giving in the right passphrase the connection closes.

debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: id_rsa
debug3: sign_and_send_pubkey: RSA SHA256:nmaycp1sNhtC3HW013GLKET/SmSSpIP4nNfRLpBRLCQ
debug3: sign_and_send_pubkey: signing using rsa-sha2-512 SHA256:nmaycp1sNhtC3HW013GLKET/SmSSpIP4nNfRLpBRLCQ
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
Connection closed by x.x.x.x port 22

Any ideeas on what could be wrong?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Cant login ssh private key

I think you need to set that up on the Operating System itself (specific for the user with SSH access), not within iRedMail AFAIK...