ssh prompting password
hi,
i have Advance Server 3 install on two server and i would like to configre ssh between these servers, i generated the keys and ftp authorized_keys file from node1 to node2 , even though it is prompting to enter password, Regards |
Hi
i solve this issue by changing the permissions of authorized_keys file to 600 on node2 but it displaying warning message warning: no xauth data; using fake identification data for X11 forwaring waiting for any input to avoid this error message also Regards |
Step 1 - Generate the key-pair using "ssh-keygen" as the user you want to use to ssh between hosts
Step 2 - look in <user_home>/.ssh - copy the contents of the ".pub" key into the remote hosts <user_home>/.ssh/authorized_keys2 file Step 3 - Repeat for the other host if you want 2 way ssh When rebuilding systems and keeping the same host name and IP, you will also have to remove that host entry from the <user_home>/.ssh/known_hosts file as well. You should be able to ssh between the 2 hosts without a passwords. |
Hi y2kram
i already performed step 1 - step 3 and without password i could able to ssh to node2 .this is the sequence of the warning message rac1>$ ssh rac2 date warning: no xauth data; using fake identification data for X11 forwaring rac2>$Tue Dec 4 11:26:04 SAUST 2007 could you explain this point: "When rebuilding systems and keeping the same host name and IP, you will also have to remove that host entry from the <user_home>/.ssh/known_hosts file as well. You should be able to ssh between the 2 hosts without a passwords." REgards |
Have you looked at the debug info using -vv?
# ssh -vv rac2 date You can also take a look at http://rocketcalc.com/bread.php?key=22 |
All times are GMT -5. The time now is 04:41 AM. |