LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



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

Rep: Reputation: 0
Smile ssh config Issue


Hi

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, 09:47 PM   #2
matthewg42
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:
Code:
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 09:49 PM.
 
Old 10-05-2007, 07:45 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,122

Rep: Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819
Quote:
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 id_dsa.pub file to the other machine's ~/.ssh/authorized_keys file -- so you don't get confused, try running ssh-keygen then rename id_dsa.pub 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 id_dsa.pub is the public key for each machine, not for both.
 
Old 10-07-2007, 04:54 AM   #4
diogod28
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Hi

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

Regards

Diogo
 
  


Reply

Tags
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/Novell 3 04-23-2007 06:32 PM
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 10:25 AM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 05:04 PM
/etc/ssh/ssh.config jeffpoulsen Linux - Software 2 04-24-2003 08:20 AM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 08:17 PM


All times are GMT -5. The time now is 07:48 AM.

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