Configuring the SSH keys.. | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Configuring the SSH keys..

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-26-2013
NelsonC NelsonC is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 26 March 2013, 4:18 PM EDT
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Configuring the SSH keys..

I am currently working on setting up a server to scp some files over for backup purposes.

Server 1 - Bob (Appliance)
Server 2 - Sana (RH 5)

Server 1 -
1 - Generated RSA2
2 - Collected the public key to be input on the backup server = Sana

Server 2 -
1 - This is were I am stuck the procedure for configuring the SSH keys varies depending on your server type, but I only have one public key, all guides I seem to come accross reference private, public, chain.. any advice?
Sponsored Links
    #2  
Old 03-26-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 24 July 2014, 6:49 PM EDT
Location: Saskatchewan
Posts: 18,976
Thanks: 748
Thanked 3,145 Times in 2,951 Posts
The client side needs the public and the private key.

The server side needs only the public key, usually appended to ~/.ssh/authorized_keys
Sponsored Links
    #3  
Old 03-26-2013
bitlord bitlord is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 23 July 2014, 12:36 PM EDT
Posts: 326
Thanks: 12
Thanked 41 Times in 39 Posts
The public key goes in the ~/.ssh/autherized_keys and when you connect with ssh, ssh will add the server to your known_host file.

If you want a 2 way connection then you need to create a key on both servers and then give the public key from each server to the other.

Some useful links.
My Techie Guy: How to Set up SSH-KEYs between 2 Unix Servers (Solaris 10)? – Step by Step
Configuring Solaris Secure Shell - System Administration Guide: Security Services
    #4  
Old 03-27-2013
mkeyes001 mkeyes001 is offline
Registered User
 
Join Date: Aug 2009
Last Activity: 8 April 2014, 11:39 AM EDT
Posts: 9
Thanks: 3
Thanked 0 Times in 0 Posts
also verify directory/file permissions, incorrectly set will not allow the use of ssh keys. ~/.ssh should be 700, and the authorized_keys file 600
Sponsored Links
    #5  
Old 03-31-2013
freebird8z freebird8z is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 18 April 2013, 10:49 AM EDT
Posts: 14
Thanks: 0
Thanked 2 Times in 2 Posts
Appliance?

If you mean NetApp appliance when you refer Appliance, then you need to go to following location to setup passwordless authentication:

Filername:/vol/vol0/etc/ssh/root/.ssh/authorized_keys
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
help with SSH keys bitlord Solaris 0 08-30-2012 09:42 AM
What are public keys in ssh and how do we create the public keys?? ravi3cha Shell Programming and Scripting 1 09-01-2010 01:39 AM
SSH keys new2ss UNIX for Dummies Questions & Answers 1 01-05-2007 08:21 AM
SSH Keys Help sysera UNIX for Advanced & Expert Users 1 08-10-2004 02:57 AM



All times are GMT -4. The time now is 09:34 PM.