Hi everybody:
I´ve a problem when configuring my ssh passwordless connection between 2 nodes os a further Oracle RAC. The problem is that i´ve tried to configure this whit root user and it works correctly, but when i try to do with oracle user, it success without error but ssh user@node date (for example) it takes me a prompt asking me for the password... :S
The methods i´ve followed was the same in root and oracle users:
- ssh-keygen -t rsa
- ssh-copy-id user@node
(The above works with root but dont with oracle)
-ssh-keygen
-scp /home/oracle/.ssh/id_rsa.pub oracle@node2:/home/oracle/.ssh/authorized_keys
i´ve typed that into the two nodes (changing the destination node)
I´m very lost, because ive checked everything, permissions (.ssh folder has 600 and the files inside 700)
Can anyone help me???
Thanks you very much!!!!
(And i´m sorry for my bad english, i dont usually talk in english)
I realized i´m a boor!!! First of all, my name is Eduardo, from Madrid, and i´m newer on Centos administration, i was a Windows administrator before.
Keyless ssh access doesnt work but with ROOT user
-
- Posts: 2
- Joined: 2015/09/15 15:05:24
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Keyless ssh access doesnt work but with ROOT user
On both machines:
make sure /home/oracle is mode 700
restorecon -R /home/oracle
make sure /home/oracle is mode 700
restorecon -R /home/oracle
Re: Keyless ssh access doesnt work but with ROOT user
Also look in /var/log/secure on the server for error messages which might tell you exactly what the problem is.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 2
- Joined: 2015/09/15 15:05:24
Re: Keyless ssh access doesnt work but with ROOT user
Good morning everybody!
I´ve tried everythig but doesnt woks! so this morning i've installed everything (S.O, prequisites, etc) and the first thig i did was to set the passwordless connectivity logining as oracle and..... IT WORKS!!!!! doing every step from zero using exactly the same proccedures, now WORKS!!!! i dont know why (the log only had exceptions) but it doesnt matters now haha
Thanks you very much!
I´ve tried everythig but doesnt woks! so this morning i've installed everything (S.O, prequisites, etc) and the first thig i did was to set the passwordless connectivity logining as oracle and..... IT WORKS!!!!! doing every step from zero using exactly the same proccedures, now WORKS!!!! i dont know why (the log only had exceptions) but it doesnt matters now haha
Thanks you very much!