Skip to content
Advertisement

passwordless ssh from linux to Solaris works for oracle user but not for ftpuser [closed]

The public key from the same linux box is set up for 2 users in Solaris, which are oracle and fptuser. And the passwordless ssh works from the same linux box to Solaris for oracle user, but not the ftpuser.

When doing the ‘ssh ftpuser@solaris_box’ from the linux, it asks for the password.

I noticed that one difference between the oracle and ftpuser is the Solaris login shell in the /etc/passwd file. The oracle has /bin/ksh and ftpuser has /bin/bash.

Can this be the cause of the problem or are there other things that could be the problem? Thank you very much.

Advertisement

Answer

Whether the user’s shell is ksh or bash is certainly not the cause of this issue. The usual culprits are too relaxed permissions on either the home directory, the .ssh directory, or the files under the .ssh directories.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement