Hi all,
I use OpenSSH agent (with WSL2) for my SSH connections. I have a issue only with the proxmox host, all is fine with VM, LXC and my two NAS.
I use the same method and same config (sshd_config, firewall rules...) for all the connections.
My keys and passphrase are stored in KeePassXC.
I have verified all the perms for the client and served side.
I have also an password acces with rsync over ssh from my NAS to proxmox (another user is used) and all is fine.
Here the debug in proxmox syslog :
Here the debug client side :
My config file, client side :
Reading the pub key on the server side in 'authorised_keys' seem fail but don'tknow why...
Any ideas what wong ?
I use OpenSSH agent (with WSL2) for my SSH connections. I have a issue only with the proxmox host, all is fine with VM, LXC and my two NAS.
I use the same method and same config (sshd_config, firewall rules...) for all the connections.
My keys and passphrase are stored in KeePassXC.
I have verified all the perms for the client and served side.
I have also an password acces with rsync over ssh from my NAS to proxmox (another user is used) and all is fine.
Here the debug in proxmox syslog :
Code:
2023-11-27T10:49:58.877662+01:00 proxmox1 sshd[2024402]: debug1: userauth_pubkey: publickey test pkalg ssh-ed25519 pkblob ED25519 SHA256:HBD7awvn6GYW0f1lti1D8neCdTr2Bzn5hwzssCWHBdA [preauth]
2023-11-27T10:49:58.877704+01:00 proxmox1 sshd[2024402]: debug1: temporarily_use_uid: 1000/1000 (e=0/0)
2023-11-27T10:49:58.877916+01:00 proxmox1 sshd[2024402]: debug1: trying public key file /home/yannick/.ssh/authorized_keys
2023-11-27T10:49:58.877962+01:00 proxmox1 sshd[2024402]: debug1: fd 5 clearing O_NONBLOCK
2023-11-27T10:49:58.878028+01:00 proxmox1 sshd[2024402]: debug1: restore_uid: 0/0
Failed publickey for yannick from 192.168.2.5 port 57334 ssh2: ED25519 SHA256:HBD7awvn6GYW0f1lti1D8neCdTr2Bzn5hwzssCWHBdA
Here the debug client side :
Code:
debug1: Offering public key: /home/yannick/.ssh/proxmox.pub ED25519 SHA256:HBD7awvn6GYW0f1lti1D8neCdTr2Bzn5hwzssCWHBdA explicit
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
yannick@192.168.2.254: Permission denied (publickey).
My config file, client side :
Code:
Host proxmox
HostName 192.168.2.254
User yannick
ForwardAgent yes
Port 1122
IdentityFile /home/yannick/.ssh/proxmox.pub
IdentitiesOnly yes
Reading the pub key on the server side in 'authorised_keys' seem fail but don'tknow why...
Any ideas what wong ?