Operating System - HP-UX
1753797 Members
6960 Online
108799 Solutions
New Discussion юеВ

Configuring SSH hpux 11.11

 
SOLVED
Go to solution
Romana
Occasional Advisor

Configuring SSH hpux 11.11

Hi,
i try to configure SSH on an HPUX 11.11. My Problem is:
We are using 2 Clients and 1 Server. The servers sshd should allow one user (jobuser) to login without using a password from the 2 clients in order to start some programs. Now we use for all the users having their $HOME on one of the clients: "remsh -l jobuser Server command". For more security i will do the some using "ssh -l jobuser Server command" or "ssh -l jobuser user@Server command", even if it is possible .
Up to now i still was able to login from one client to the server as root without any password but not for a normal user. I tried hostbased authentication and publickey but both will not work.
Can anyone give me some instructions to configure the sshd an server and ssh on clients to use ssh as i want? I still tried the configuration instructions from HP doc page but as mentioned i had only success as user root.

thanks for helping;
i am really a little confused

Romana
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: Configuring SSH hpux 11.11

Shalom,

Your methodology is good.

Because root works.

Important issues for other users.

If the owner of the home directory is not the same as the user, the ssh password free connect will fail.

Check permissions on the home directory and .ssh directory and files in the .ssh directory for the user and make them the same as those for root.

I believe this will solve the problem you are having.

No sshd server configuration is required for this.

http://www.hpuxconsulting.com/5004.ppt
http://www.hpuxconsulting.com/5003.ppt

I'm lazy but one of those two links is a presentation I wrote on the subject. The other is worth having as well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven Schweda
Honored Contributor

Re: Configuring SSH hpux 11.11

Normally, adding "-v" to an "ssh" command
will give you some idea of what's happening
from the client side. The usual system log
files normally offer some clues on the server
side.
Romana
Occasional Advisor

Re: Configuring SSH hpux 11.11

Thanks SEP
5004 was it.
"ssh -l User Host" works now as want. It was a permission and authorized_keys problem

regards
Romana