Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-04-2007, 03:40 AM   #1
LQ Newbie
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
Smile ssh config Issue


I had successfully configured ssh between two servers for oracle RAC configuration and was working fine. It still works fine with one node. But when I try to run [ssh nodename date] from one of the node it does not work.

I tried reconfiguring, the same problem. I cannot copy the authorised_keys from one node only the other works fine.

Thanks for your help in advance

Diogo Fernandes.
Old 10-04-2007, 08:47 PM   #2
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
Most ssh implementations have some way to print verbose information, for example stages of connections - what is tried, what is successful and what fails. For the openssh implementation of the ssh client which ships with many Linux distros, you can use the -v command line option to accomplish this. You can provide the option multiple times to get more verbose output. For example:
ssh -v -v nodename
See if you can get more information about that is happening that way.

Last edited by matthewg42; 10-04-2007 at 08:49 PM.
Old 10-05-2007, 06:45 AM   #3
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,427

Rep: Reputation: 993Reputation: 993Reputation: 993Reputation: 993Reputation: 993Reputation: 993Reputation: 993Reputation: 993
I tried reconfiguring, the same problem. I cannot copy the authorised_keys from one node only the other works fine.
Did you by any chance copy the authorized_keys file from one machine to the other? If so, it ain't gonna work that way; you need to run ssh-keygen on each machine independently and copy only the file to the other machine's ~/.ssh/authorized_keys file -- so you don't get confused, try running ssh-keygen then rename to the node name of the machine you're on then copy that to the other machine's ~/.ssh directory (then add that file to authorized_keys; this is in case you have additional machines to add by name). Remember that the keys work in pairs; the id_dsa is the private key, the is the public key for each machine, not for both.
Old 10-07-2007, 03:54 AM   #4
LQ Newbie
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0

We got the issue resolved it was the problem with the SUSE package AppArmour which was creating the problem. Now things are fine.

Thanks you all for your assistance




oracle, suse

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH config on OpenSuse 10.2 andy.l SUSE / openSUSE 3 04-23-2007 05:32 PM
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 09:25 AM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 04:04 PM
/etc/ssh/ssh.config jeffpoulsen Linux - Software 2 04-24-2003 07:20 AM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 07:17 PM

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration