TECH Problem with passwordless SSH

trouphaz

New Member
Sep 22, 2003
2,647
I'm trying to setup server A and B so that a user signed in on one host as sybase can ssh to the other without a password, but it isn't working. I am able to get it working with no problems for the root account, but it doesn't seem to work nice with the non-root account.

As the user I tried creating a DSA key with "ssh-keygen -t dsa" and accepting all defaults for the rest (blank passphrase). Then, I took the contents of the id_dsa.pub file and added it to the end of the ~sybase/.ssh/authorized_keys file. No use.
I moved the DSA keys and created RSA keys and did the same steps. No go.

Like I said though, it works perfectly fine with the root account.

Hosts are Solaris 10 with the included ssh and sshd. It is patched up until pretty recent, maybe a month old. Both machines were made with the same jumpstart image.

Has anyone seen this behavior before?
 

crontab

Oracle doesn't have customers, they have hostages.
Nov 14, 2000
25,071
what does ssh -v(vvv) show?

i've ran into problems setting this up from time to time and it was always something that i missed.

there are a bunch of steps for this setup, i would double check everything, directory/file permissions, recreate dsa or rsa keys, known_hosts lists, etc....
 
TS
TS
trouphaz

trouphaz

New Member
Sep 22, 2003
2,647
lol... the ssh -v helped a lot. i didn't know about that. anyway, if the account is locked, it won't allow you to ssh in without a password. funny because sudo still allowed them to switch to that user (and su - sybase works too).

thanks! i'm an idiot.
 

Users who are viewing this thread

About Us

  • Please do not post anything that violates any Local, State, Federal or International Laws. Your privacy is protected. You have the right to be forgotten. Site funded by advertising, link monetization and member support.
OT v15.8.1 Copyright © 2000-2022 Offtopic.com
Served by fu.offtopic.com

Online statistics

Members online
505
Guests online
79
Total visitors
584

Forum statistics

Threads
369,739
Messages
16,915,682
Members
86,875
Latest member
ddunn9448