Hello Jason,

Am 24.05.2023 um 21:33 schrieb Jason Olson <josys36@xxxxxxxxx>:

So I'm trying to establish an ssh connection from a 7.3 system to a 7.5 system using keys. When I ssh from the 7.5 system to the 7.3 system it works fine. However, from the 7.3 system to the 7.5 system it won't connect using keys. It will default to a password and I have to supply a password to continue.

If I put the connection into debug using -vv I don't get any error messages when the 7.3 system supplies the keys to the 7.5 system.

Has this worked before? Or is this a new setup?

The messages will be logged by the *server side*, because that one apparently refuses to use the keys.

On the refusing server:

- Check permissions of the user's home directory, and the associated .ssh subdirectory. Write permissions should only be granted to the user.
- Check permissions to the key files in the .ssh-subdirectory. The private key (the one without .pub) should be read/writable only by the owner, and no one else.
- Check that directories and files belong to the correct user.

On both machines:

- Check ssh_config and sshd_config for differences.

Has anyone seen this before?

Not on IBM i but in the end it's just ssh. Many things can go wrong.

:wq! PoC


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.