Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-27 Thread Rich Shepard
On Thu, 27 Apr 2023, Tomas Kuchta wrote: You can stop the sshd service on the server, then start it interactively with - - then try connecting from the client to see the server response in your server shell. Tomas, et al.: I found the problem and it will take me a while to fix it. It's

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-27 Thread Tomas Kuchta
You can stop the sshd service on the server, then start it interactively with - - then try connecting from the client to see the server response in your server shell. If you find this not helpful - please just ignore it. No comments necessary. -T On Thu, Apr 27, 2023, 09:53 Rich Shepard

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-27 Thread Rich Shepard
On Thu, 27 Apr 2023, King Beowulf wrote: When you ssh caddis -> salmo, sshd will log the event on salmo (destination). Slackware 15.0 default for sshd is /var/log/syslog -> errors and status messages /var/log/secure -> errors and status messages (pam) look for sshd messages. Ed, Since last

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Steve Dum
where is the documentation for ssh's type xx messages off topic mostly but an example of getting ssh log messages on ubuntu 22.10 I decided to see what my linux system had for error messages |$ journalctl -u ssh --since yesterday over 17000 lines of outputs 3242 transactions indicating

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread King Beowulf
On 4/26/23 12:32, Rich Shepard wrote: > There are no ssh logs in/var/log/ or root's home directory. Rich, When you ssh caddis -> salmo, sshd will log the event on salmo (destination). Slackware 15.0 default for sshd is /var/log/syslog -> errors and status messages /var/log/secure -> errors and

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Russell Senior
It's logged somewhere. Figure out where. On Wed, Apr 26, 2023 at 12:32 PM Rich Shepard wrote: > On Wed, 26 Apr 2023, Russell Senior wrote: > > > type 51 is an indication that the server is rejecting the key you are > > trying to use. Success would be type 52. You need to look at the salmo >

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Rich Shepard
On Wed, 26 Apr 2023, Russell Senior wrote: type 51 is an indication that the server is rejecting the key you are trying to use. Success would be type 52. You need to look at the salmo logs to find out why. Russell, There are no ssh logs in /var/log/ or root's home directory. In salmo/.ssh/

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Russell Senior
" debug1: Offering public key: /home/rshepard/.ssh/id_ed25519 ED25519 SHA256:kzkp07EYCHEBeOLgGgKYbPGD1IdtDpJl2gPVSfYYXtk debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 51 " type 51 is an indication that the server is rejecting the key

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Rich Shepard
On Wed, 26 Apr 2023, MC_Sequoia wrote: Here's where I think the problem is: "debug1: Trying private key: /home/rshepard/.ssh/id_ed25519_sk debug3: no such identity: /home/rshepard/.ssh/id_ed25519_sk: No such file or directory debug1: Trying private key: /home/rshepard/.ssh/id_xmss debug3: no

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread MC_Sequoia
Rich, Here's where I think the problem is: "debug1: Trying private key: /home/rshepard/.ssh/id_ed25519_sk debug3: no such identity: /home/rshepard/.ssh/id_ed25519_sk: No such file or directory debug1: Trying private key: /home/rshepard/.ssh/id_xmss debug3: no such identity:

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Rich Shepard
On Wed, 26 Apr 2023, Rich Shepard wrote: I don't think I mentioned on this list yesterday's test results: salmo and caddis can ping each other; salmo can ssh to caddis; caddis still cannot ssh to salmo. Just now I looked at the known_hosts file on both hosts. salmo has one line for caddis.

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Rich Shepard
On Wed, 26 Apr 2023, MC_Sequoia wrote: Rich, are you seeing any error messages? Yep. Because I cannot attach the log file resulting from `ssh -vvv salmo` I've uploaded it to . I don't know enough to see what's still not correct on either the caddis client or the salmo host. I don't think I

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread MC_Sequoia
"Still won't connect from laptop to desktop;" Rich, are you seeing any error messages?

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Rich Shepard
On Wed, 26 Apr 2023, Michael Ewan wrote: Also, ssh can silently fail to connect if the permissions are too loose. Thanks, Michael. They're all now with the proper perms, both hosts. Still won't connect from laptop to desktop; still working on that. Rich

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Michael Ewan
Also, ssh can silently fail to connect if the permissions are too loose. On Wed, Apr 26, 2023, 6:19 AM Rich Shepard wrote: > On Wed, 26 Apr 2023, Jeffrey Borcean wrote: > > > 0600 / -rw--- > > Thanks, Jeffrey. I did not find this with my web searches. > > Rich >

Re: [PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Rich Shepard
On Wed, 26 Apr 2023, Jeffrey Borcean wrote: 0600 / -rw--- Thanks, Jeffrey. I did not find this with my web searches. Rich

[PLUG] What are the permissions for .ssh/authorized_keys?

2023-04-26 Thread Rich Shepard
I've learned the permissions of all .ssh/ files other than authorized_keys. What should be the perms for that file? TIA, Rich