Unable to ssh to HP-UX without password?
I have two Boxes - HP and redhat Linux.I want to ssh as normal user to HP-UX machine from Linux Box without password.
I followed the following steps: 1. Created a key on redhat linux Machine through #ssh-keygen -t dsa 2.#scp ~/.ssh/id_dsa.pub user@hp-ux:~user/.ssh/authorized_keys I am able to ssh to hp machine through root user without password but not through user. Please let me know if I am wrong at any point? |
Quote:
Your title says you're unable to, but your post says you ARE able to. Which is it? If you're saying that you can SSH without a password as a root user, but can't as a 'regular' user, that would be correct. You've only swapped the keys for the root user above. You need to do this for every user you want to be able to do passwordless-logins with. |
Sorry for confusion in the words above.
I have already swapped the keys for each user. |
I tested the same in between the two linux machine and it was working fine but in between linux and HP-UX machine
|
Quote:
If this works between Linux systems, but just not to HP-UX, it may be the SSH you're using on HP-UX. Solaris used to be the same way, you could connect via SSH, but keyswaps didn't work. You had to remove the 'built-in' SSH server, and install OpenSSH, which worked flawlessly. Are you using OpenSSH on HP-UX, or the default SSH that comes with it? You can try to install OpenSSH, and see if that works, chances are it will. |
All times are GMT -5. The time now is 02:12 PM. |