Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passwordless ssh login on Sparc

Status
Not open for further replies.

Job317

Programmer
Aug 15, 2007
37
0
0
US
Hi list,

I have a network with various Unix machines (linux, freebsd, AIX and solaris) as well as Windows. We are using Openssh to login from a Windows machine to each of the Unix machines running Openssh servers and are trying to set them all up with RSA keys for passwordless logins. This is being set up for only a specific user and so the public key of the client is being put in the .ssh folder of the specific user's home directory as authorized_keys2.

The *only* problem is a Solaris 5.8 sparc machine with OpenSSH-4.7p1. For some reason, this machine alone will not cooperate.

Has anyone had experience with this type of configuration on Sparc?

Thanks.
 
Well, from the looks of it, your setup all supports the ssh2 protocols and cyphers, and because you have had success on your other machines, this should be something specific with this system

With all other things working, and other users being able to ssh to the box (I presume, or you would not be posting) etc, you are narrowed down to the following:
- incorrect perms on user's home dir (should be 0755, at most) and/or .ssh/ (0700 at most) and/or authorized_keys(2) file (0600 at most)
- authorized_keys has bare carriage returns (partially dos mode)
- key line in authorized_keys is broken over two lines (common occurrence when pasting through a term)

post of none of that resolves the problem.
Cheers!
 
The fix turned out to be unrelated to SSH really. The particular user account which was to use the passwordless login was also auto mounted but NIS and this was setup incorrectly. Running the sshd daemon manually in verbose logging mode showed the error in mounting the user's home folder.

Correcting this fixed the passwordless login problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top