Linux Operating System (MOSC)

MOSC Banner

Trying to set up SSH Keys from Linux client to Linux sFTP server. Permission denied (publickey)

edited May 21, 2023 10:57PM in Linux Operating System (MOSC) 4 commentsAnswered ✓

sFTP server - Oracle Linux 7

Linux client - Oracle Linux 7


I've created an sFTP server, first time doing this.

I think it works as I can log in to my sFTP server using the command $ sftp sftp_user@sftp_server_IP - and then enter the correct password, and I'm logged into sFTP.


I have ssh keys working between a Linux client and the Linux sFTP server. So, I can ssh between the client and sFTP server both ways without a password.


My problem is that I'm trying to connect from the client to the sFTP server without a password, and this doesn't work.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center