SSH still prompting for password after authorized_keys have been set

Hello,
Configuration;
OEL5
2 nodes
I have done the following;
su - oracle
mkdir ~/.ssh
chmod 700 ~/.ssh
/usr/bin/ssh-keygen -t rsa # Accept the default settings.
exit
su - oracle
cd ~/.ssh
cat id_rsa.pub >> authorized_keys
scp authorized_keys rac2:/home/oracle/.ssh/
exit
su - oracle
cd ~/.ssh
cat id_rsa.pub >> authorized_keys
scp authorized_keys rac1:/home/oracle/.ssh/
exit
su - oracle
ssh rac1 date
ssh rac2 date
ssh rac1.localdomain date
ssh rac2.localdomain date
exec /usr/bin/ssh-agent $SHELL
/usr/bin/ssh-add
Also made the following in my /etc/ssh/ssh_config on both nodes then restarted
RSAAuthentication yes
PubkeyAuthentication yes
when I execute
ssh rac1 date
I am still being prompted for the password
This is making my install of Clusterware (pre-install check) fail with error;
"user equivalence check failed for user "oracle""
Can anyone give me an idea of the next step to make it no longer prompt for a password?
thanks,
Steve

I just ran into this. I had to delete the "oracle" user and readd it. I could talk from box 2 to 1, but could not talk from 1 to 2. After I deleted and readded the oracle user on the second box it worked just fine.

Similar Messages

  • Connecting to sf302-80p via ssh-prevent prompt for password

    Hi there.
    I'm wondering if anyone knows to set up the switch so that when I'm connecting via SSH, the switch doesn't prompt for a username if I supply one in the initial connect request?
    For example, we usually connect by typing something like the following at a command prompt:
    ssh [email protected]
    Then the switch would prompt for a password.
    I've tried this on the Cisco SF302 but it still prompts for a username, and then the password.
    Thanks for reading this post!

    After doing some research, here's the solution to our problem.  Others may have resolved in a different way, but this seems to work for us.
    What we noticed is the following:
    1.  popular ssh libraries like phpseclib were failing on this switch because of the limited ssh implementation.
    2.  php's ssh2_auth_none function returns TRUE on this switch. 
    What does this mean? 
    It seems that the ssh protocol has an authentication method called  "none". This is insecure, and is usually disabled on most switches. The ssh2_auth_none() function attempts to connect without any authentication and if it fails, it returns a list of the authentication methods that the server accepts.  In the case of the SF300.. it DOES NOT FAIL and returns nothing for the authentication methods.
    3. Known CLI and SSH Limitations
    Although they weren't able to give us a solution, CISCO tech support did explicitly state that the small business class switches have a  limited CLI and a pared down version of SSH as well so you cannot treat  it as you an enterprise level switch that has a full blown ssh  implementation.
    In case it helps, here's a little snippet of code that shows how to connect to these types of devices:
    <?php
              $username = 'myusername';
              $password = 'mypassword';
              $connection = ssh2_connect('123.123.123.123', 22);
              //$authentication_methods = ssh2_auth_none($connection, 'user');
              $stdio_stream = ssh2_shell($connection);
              fwrite($stdio_stream,$username."\n");
              sleep(1);
              fwrite($stdio_stream,$password."\n");
              sleep(1);
              echo "Results: " . stream_get_contents($stdio_stream); 
              echo 'sending show bonjour command:
             fwrite($stdio_stream, "show bonjour".PHP_EOL); //you can use \n instead of PHP_EOL but PHP_EOL is recommended.
             sleep(1);
             echo "
    Results: " . stream_get_contents($stdio_stream); 
    ?>
    Hope this helps anyone who's attempting to connect to these types of devices programmatically.

  • Prompted for password after the PO is restarted

    Hello everybody,
    Some users are prompted for password on the device after the Post Office is restarted.
    Killing the app "Mail" on the iDevice seems to resolve the problem. Do you have another solutions to avoid to kill the app.
    Thx

    Originally Posted by olidub
    Hello everybody,
    Some users are prompted for password on the device after the Post Office is restarted.
    Killing the app "Mail" on the iDevice seems to resolve the problem. Do you have another solutions to avoid to kill the app.
    Thx
    Depends on your version, if you are on 1.2.5.299 then: https://www.novell.com/support/kb/doc.php?id=7014211
    Thomas

  • After reset I am still prompted for password.

    After I press reset on Airport it still prompts me for a password when I log into it. Why? If I have reset the Airport shouldn't all trace of everything I did before disappear?
    Airport Extreme   Windows XP  

    How long are you holding the reset button on the Airport Extreme? The manual states that to reset the password, you must hold the reset button for one second. For a factory reset, hold the reset button for five seconds.
    Hope this helps.

  • After successfull kinit ssh still asks for password for kerberizes services

    Hi,
    I've just migrated from 10.4 for 10.5 and I'm seeing this problem that after kinit when I use ssh to any kerberized service it still asks me for password and doesn't automagically log me in as it used to on 10.4
    I can see the ticket in cache using klist.
    I've the same krb5.conf and ~/.ssh/config which work on 10.4.
    Any help would be great.
    Thanks
    Ashish

    Hi
    How many tickets do you see if you issue:
    klist
    What you should see is an entry for the TGT and then an entry for each service principal accessed thtereafter (SGTs). In 10.5 service tickets will be prefixed with the name of the service. This was not the case in 10.4.
    Tony

  • Outlook prompting for password after password change

    I have a client who has Exchange 2013 and the PCs run Windows 8.1 with Office 2013.
    The users just started having the following problem. Their domain passwords are expiring and when they update them with a new one, Outlook starts prompting them for a password when they open it and periodically while Outlook is running. They keep entering
    the new password and checking the box to remember it, but the password prompt keeps coming back.
    I've checked and the account in Outlook does not have the box checked to always prompt for logon credentials. I did notice that the proxy authentication is set for NTLM so I changed it to Basic, restarted Outlook and there was no password prompt and the
    user has not seen one since.
    Any idea why having the proxy authentication set to NTLM would cause this after the domain password changed? It has been set to NTLM rather than Basic for years now. Exchange 2013 has been in use there for about 6 months and Office 2013 longer than
    that. Windows 8.1 has been on the computers for 3-5 months so I don't think that's it either. I've tried with our domain account we have setup there and with a test user account by changing the password on them but with the proxy authentication set to NTLM
    I haven't had the password prompt appear other than once the next time Outlook is opened after the password change, and that is to be expected.
    So it's not every user account but a good number of them this is happening with.
    Jonathan

    I have an update.
    There must be a GPO or setting in Outlook changing the proxy authentication to NTLM because this morning it was changed back to NTLM from Basic. They all either shut down or restarted their computers since I worked on them Friday.
    One user got the password prompt one time when starting Outlook. She entered the password and that was it. But she was unable to connect to a shared calendar. She put her computer to sleep, woke it up, logged in, and then was able to connect to the shared
    calendar. I don't understand that.
    Another user could not get the password prompt to go away this morning no matter how often he input his password, and he also was unable to connect to the shared calendar. So I changed the proxy authentication back to Basic again, restarted Outlook (which
    is required), got no password prompt, and he was able to connect to the calendar.
    I realize the calendar issue is tied to the password issue. What I don't understand is why these people are getting the password prompt ever since they changed their domain password.
    I have a test account and test PC set up in a VM and it does not have any of these problems. I've changed its password 3 times but I never get a prompt when opening Outlook and it is set to NTLM.
    I hope someone out there has an idea why changing their password now is causing this authentication problem in Outlook.
    Jonathan

  • Turning Airport On/Off prompts for password after latest Leopard update

    After installing the latest Leopard update I'm getting prompted for my password to turn Airport on or off. While it's not a big problem it is a bit of a nuisance.
    Message was edited by: Hardbap

    Thanks for the help.
    1 - yes (see below)
    2 - no
    3 - yes
    Utility.app/Contents/Resources/lanArrow.png", should be -rwxrwxr-x , they are -rw-rw-r-- .
    2008-11-20 11:28:30 -0500: Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/lanCheck.png", should be -rwxrwxr-x , they are -rw-rw-r-- .
    2008-11-20 11:28:30 -0500: Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/lanDisabled.png", should be -rwxrwxr-x , they are -rw-rw-r-- .
    2008-11-20 11:28:30 -0500: Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/wanArrow.png", should be -rwxrwxr-x , they are -rw-rw-r-- .
    2008-11-20 11:28:30 -0500: Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/wanCheck.png", should be -rwxrwxr-x , they are -rw-rw-r-- .
    2008-11-20 11:28:30 -0500: Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/wanDisabled.png", should be -rwxrwxr-x , they are -rw-rw-r--
    Message was edited by: Hardbap

  • Keeps asking for password after I have logged in--Why?

    I keep my Mail program on all of the time. But several times per day it will ask me to log in with PW. If I ignore this and cancel, then tell it to go on line with all mail addresses it works fine for some time. Then it starts over with asking for PW. I have DSL and am on line 24/7.
    Any suggestions?

    Some ISPs refuse connection attempts if they are too frequent, or limit the number of simultaneous connections that are allowed from the same IP address, or the account may have become full, or there might be a problem with the network, or there might be a problem with the server...
    Go to Apple Menu > System Preferences > Network, choose Network Port Configurations from the Show popup menu, and make sure that the configuration used to connect to Internet appears at the top of the list.
    What’s the time interval chosen in Mail > Preferences > General > Check for New Mail? If it’s set to Every minute, try changing it to Every 5 minutes.

  • How do I add a website to remember the password after I have been to it before? I didn't know how to make the website remember the password initially.

    I want to have firefox remember a password on some sites that I have already been to previously. When it asked me initially, I didn't know how to make it remember. Now I would like for it to remember that site. Please explain how to do this.

    If you clicked "Never" then you have created an exception that you need to remove.<br />
    Otherwise Firefox should offer to store the name and password on the next visit when you sign on.
    Remove site(s) from the Exceptions:
    * Firefox/Tools > Options > Security: Passwords: Exceptions
    *https://support.mozilla.org/kb/make-firefox-remember-usernames-and-passwords
    *http://kb.mozillazine.org/User_name_and_password_not_remembered

  • Installing new IOS7 and prompt for passcode when I have not set one up for my iphone

    Have installed iOS7 on my iphone 4S and when it has restarted it has asked me to enter my passcode, when I had not previously entered one and now phone is locked and I am unable to use the device. Is their a default passcode that I have to enter before selecting one of own?
    Please advise.

    Try and force your iPad into Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: Data will be lost.

  • I cannot download an app from the app store, it keeps loading until it says "You have already purchased this app so it will be downloaded no at  no additional charge", and then it prompt for password and I input it after which nothing happens.

    I cannot download an app from the app store, it keeps loading until it says "You have already purchased this app so it will be downloaded no at  no additional charge", and then it prompt for password and I input it after which nothing happens.
    I know my icloud has record of my installing this app before, but that was the first install that was failed during that time some other apps also keeps loading without respond whey they updated itself, and this app didn't install before I restart the device. But I don't see this app on my device after I restarted the device so it should have been installed on my device. It seems icloud has created some kind of dead loop that makes it not able to get the correct status about this app on my device.
    I have no problem install this app on my other device (iPad) with the same account, but just fail on my iPhone. And it just fine installing other apps...... What happened !!?? @@
    Please help !!! 

    Someone help! I dont know how to do this and please put the words into an easy way to understand because im young...

  • Prompting for passwords even i configured ssh password less authentication

    There are two servers :
    1. Site
    2. Testing
    from site server i want to connect testing server with ssh password less authentication.
    i generated public and private keys with ssh-keygen -t rsa on site server.
    cat id_rsa >> authorized_keys
    cat id_rsa.pub >> authorized_keys
    i appended id_rsa.pub ( public key site server ) to authorized_keys ( testing server ) with below command .
    ssh [email protected] "cat >> ~/.ssh/authorized_keys" < ~/.ssh/id_rsa.pub
    am i missing some point in performing procedure for ssh password less authentication ?
    because it prompts for passwords agaian and again
    Edited by: user13376823 on Oct 9, 2012 9:30 AM

    user13376823 wrote:
    There are two servers :
    1. Site
    2. Testing
    from site server i want to connect testing server with ssh password less authentication.
    i generated public and private keys with ssh-keygen -t rsa on site server.
    cat id_rsa >> authorized_keys
    cat id_rsa.pub >> authorized_keysI don't think you should be doing this. I can't see the point of adding the private key and adding the public key means the "Site" can ssh to itself without needing a password!
    >
    i appended id_rsa.pub ( public key site server ) to authorized_keys ( testing server ) with below command .
    ssh [email protected] "cat >> ~/.ssh/authorized_keys" < ~/.ssh/id_rsa.pub
    I would expect you to add the RSA public key to the "authorized_keys2" file and not the "authorized_keys" file.
    >
    >
    am i missing some point in performing procedure for ssh password less authentication ?
    because it prompts for passwords agaian and again
    Edited by: user13376823 on Oct 9, 2012 9:30 AM

  • I had the icloud account changed on the iPad (have added new ID and deleted old one). However when updating/downloading , it still asks for password to the previous account...?

    I’m giving my ipad to my sister and I had the icloud account changed. I have added new ID and deleted the old one. However when updating and downloading apps, it still asks for password to the previous account. Does anyone know how to fix this? Thanks very much!

    Maybe you should set it up as new device again:
    How to back up your data and set up as a new device
    Apps are tied to the Apple ID they were bought with and can not be shared with other devices that have a different Apple ID.

  • Why does Outlook keep prompting for password

    We have seen our community members ask questions about Outlook keeps prompting for credentials many times. This issue could be caused by numerous reasons. Below is a list of the most common reasons for this problem:
    Outlook is configured to prompt you for credentials
    Incorrect password cached in credential storage
    Required Authentication Settings for outgoing server and incoming server
    Outlook Anywhere is not configured to use NTLM Authentication
    Corrupt Outlook profile
    Slow or unstable network connection
    Antivirus programs
    Shared calendars
    Outlook is configured to prompt you for credentials
    If you are using an Exchange account, there is a setting in your Outlook profile to always prompt for logon credentials. To find the setting, please follow:
    1. In Outlook 213, go to File tab > Info >
    Account Settings > Account Settings…
    2. Highlight your Exchange account and click Change button.
    3. Click on More Settings button.
    4. Select the Security tab.
    5. Under the User Identification, make sure the “Always prompt for logon credentials” option is not selected.
    If you are using other types of email, please make sure you have ticked the option “Remember password”.
    Incorrect credential cached in Credential Manager
    Your Windows system stores user credentials on your computer. If the cached credentials are incorrect, you will be prompted for password. This issue usually happens after the password for your domain user account is changed. Before your password changed,
    you saved your credentials. The stored credentials are not overwritten when Outlook triggers the authentication prompt even if you enable the Remember my credentials option.
    To fix this issue, you need to remove the corrupted credentials, follow these steps:
    Click Start,      click Control Panel, and then click Credential Manager.
     Note If View by is set to Category, click User Accounts first, and then click Credential Manager.
    Locate  the set of credentials that has Outlook in the name.
    Click the name to expand the set of credentials, and then click Remove from Vault.
    Repeat step 3 for any additional sets of credentials that have the word Outlook in the name.
    Required Authentication Settings for outgoing server and incoming server
    Different email provider may need different authentication settings. Please make sure you have set the server settings correctly. You can contact your email provider to gather the information.
    In general, we select the “My outgoing server (SMTP) requires authentication” option and the first bullet “Use same settings as my incoming mail server”.
    In addition, click on the Advanced tab and check if you have enter the correct Server Port Number and select the correct encrypt type. Below is a screenshot for an IMAP account:
    Outlook Anywhere is not configured to use NTLM Authentication
    The Outlook Anywhere feature allows you to access your Exchange account remotely from the Internet when you are working outside your organization's firewall.
    When using Outlook Anywhere to connect to your Exchange server, we need to choose
    the authentication method among Basic Authentication, NTLM Authentication and Negotiate Authentication. The difference among them is the way that the passwords are sent when connecting to the server. With Basic Authentication,
    the password is sent in clear text. Using NTLM Authenticationcan significantly reduce the number of password prompts.
    To check the authentication setting, please go to File > Account Settings > Account Settings,
    select the Exchange account, and then click
    Change. In the Change Account wizard, click
    More Settings, and then click the Connection tab. Click the Exchange Proxy Settings button and now, you can see the settings under
    Proxy authentication settings. Try to change the authentication to
    NTLM Authentication and then check the issue again.
    Slow or unstable network connection
    If your network connection is slow or unstable, Outlook may lose connection to the mail server. When Outlook try to reconnect, it will prompt for the credentials. To verify this, please switch to a stable network environment and then check if this issue
    persists.
    Corrupt Outlook Profile
    Corrupt profile may cause Outlook to no longer remember your password. Please try to create a new mail profile in Control Panel and reconfigure your email account in the new profile to fix the issue. To create a new mail profile, you can refer:
    http://support.microsoft.com/kb/829918
    Antivirus software
    Antivirus software usually integrates into your Outlook and it may cause some conflicts. Try to temporarily turn off your antivirus software to check if the issue will be gone.
    Shared Calendar
    Shared calendars can impact the user credentials, this issue may also occur if you have shared calendars opened in Outlook. You can try to unselect the shared calendar to check the result. It’s recommended to not open the shared calendar unless you want
    to view them.
    If you have any comments, welcome to post in the forum. Thank you.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Nope...
    I went through point by point by point, top to bottom, checking and verifying every single item as a possible cause for why my system (Outlook 2013 running on Windows 8.1 and connecting to Exchange 2010) insists on prompting me for my password every single
    time I start Outlook.  None of the solutions worked, my system still prompts me.  I don't even have to supply a password.  When the prompt dialog appears, I just cancel it.  Within a few seconds, the bottom Outlook status bar changes to
    "Need Password" with a key icon to the left.  Then I just click on that message and immediately Outlook connects to Exchange.
    The freaking software is BROKEN!  Period.

  • Outlook 2010 prompting for password

    Hi everybody. I ran into an issue yesterday morning where at one of our sites Outlook 2010 has started prompting for a username and password. If the user types in their username as "MYDOMAIN\myuser" and their password, it lets them in but the Exchange
    status shows as "Disconnected". If the user sets their username to just "myuser" without the domain on the front it lets them in and works as expected until they close Outlook, at which point they have to enter their credentials again. 
    The strangest thing about this is that it's only affecting one of our sites and only Outlook 2010. Users running 2007 and 2003 do not have the problem and only users at this physical location have the problem. Does anybody know where I can look? I have tried
    clearing stored credentials, created new Outlook profiles and reset passwords. None of these things seem to have had any effect. 

    After changing a ton of outlook settings, deleting the user's account profile on outlook, deleting their domain profile from the effected computer, trying to fix the registry, deleting stored credentials, etc.... almost everything else I found something
    that FINALLY worked for me after over a year and about 12 different users being effected. 
    in the past I would just give up after much frustration and upgrade them to Office 2013 but that gets very expensive especially when I have 57 other users that could potentially run into the same issue. 
    Here is what I did. 
    - back up the user's data. log out and log into local admin
    - delete the user from the local registry
    - repair Office 2010 through control panel/programs, restart
    - have user log back in with their credentials to make new local profile. recover their backed up documents. log out and log back in as local admin. 
    - install hotfix KB2597011
    - restart computer
    - install hotfix KB2583935
    -restart computer
    - log in, open outlook and setup user's account. 
    Some of these steps may be skipped as I didn't find the hot-fixes until after I repaired office, however I am just providing what I did in the process to end up with a working outlook again. 
    Some things unique to my situation that may or may not help. 
    - I noticed some of the computers have Office2010 32bit installed on 64 bit machines. 
    - Some of the users were swapped over using a profile mover program when we moved to a domain environment. 
    - For me this always happens when the user's passwords expire and they have to log in to the portal to change it. Then outlook starts with the repeated prompt for passwords. It is always computer specific and nothing but what I provided above has worked
    other than re installing windows 7 and then office or upgrading to office 2013. 

Maybe you are looking for

  • I have set up to remember passwords but it is not working. I deleted and changed several passwords but now only some prompted me for remembering the new password

    I had set this up and it was working, but I deleted several passwords and set up new ones. Even though it is set up to remember passwords, it does not prompt me on a few sites. One is a hotel company and they do not block saving passwords. The others

  • Web Dynpro ABAP - Table Scroll Performance

    Hi, In the standard ESS Timesheet application, we have created a custom pop-up screen to select the cost assignment for the time entry. The pop-up screen is a search help developed by implementing the IWD_VALUE_HELP interface and is a complex screen

  • What NAS will work with Lion

    Anyone know what NAS will work with Lion?  DocFred answered my previous post saying with my LG Nas that there no updates coming soon lol.  So there is no way to map a network drive? I took the leap into Apple ........... and I can't do a simple thing

  • Can't Drag Windows

    Lately I've had a problem where I can't drag open windows or even just icons on my desktop. If I move them very slowly they'll usually slide just a little, then they won't slide at all. Could anyone suggest what I should look for to return to normal

  • V$lock, sys.obj$ very slow

    Hello, I need to fetch wait time by object and that is why the query below. The problem: it takes forever :( any suggestions? select vlock.ctime, vdb.name,sysdate from v$lock vlock, sys.obj$ vdb where block = 1 and type = 'TM' and id1 = vdb.obj# orde