You are not logged in.
debug1: Offering public key: /home/yg/.ssh/id_ed25519.pub ED25519 SHA256:xxxx 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
debug1: Trying private key: /home/yg/.ssh/id_rsa
no such identity: /home/yg/.ssh/id_rsa: No such file or directory
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
@localhost: Permission denied (publickey).
Why? It is bug? i working after update until reboot.
Last edited by gyurman (2022-04-06 19:21:17)
Offline
First it tries to read a file from /home/yg, then it tries to read a file from /home/gyurmo.
Do you have any line in your SSH config that hardcodes a path to a (non-existing) SSH key file? Do those two files exist (and are they both readable)?
Offline
Why? It is bug? i working after update until reboot.
Have you rebooted the system since the last time the openssh package was updated before now?
Last edited by loqs (2022-04-05 22:28:28)
Offline
First.... ?
Thank you #ayekat so much for your attention. I wanted to hide my identity on the forum. ;-)
Offline
.... the openssh package was updated before now?
What happened was that I was trying to pull the movies from Raspberry for Jellyfin with ssfs. But after NVENC was enabled, the PC froze. I turned it off.
But after that, I could not enter raspberry either local or remote with publickey. The config files have not changed. Raspberry uses Manjaro for PC Arch Linux.
What could have blocked it? The files appear to be there, no changes or rights exchanges haven't been made.
If I have any type of public key generated I got same.
debug2: we did not send a packet, disable method
Last edited by gyurman (2022-04-06 11:46:43)
Offline
"Any reason."
"Some reason."
https://unix.stackexchange.com/question … -to-server
Run the server in debug mode and check its logs.
Offline
debug1: Trying private key: /home/yg/.ssh/id_rsa no such identity: /home/yg/.ssh/id_rsa: No such file or directory
You need (at least) the private key on the client. You don't seem to have it.
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
Oh I could to solve.
https://stackoverflow.com/questions/478 … ble-method
Start a new SSH Server instance on a new port in debug mode with:
/usr/sbin/sshd -d -p 2222
then connect to it from the client with:
ssh -p 2222 user@host
Solving:
chmod g-w /home/user chmod 700 /home/user/.ssh chmod 600 /home/user/.ssh/authorized_keys
I don't know, why changed my rights.
Last edited by gyurman (2022-04-06 19:29:44)
Offline