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
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
Old 03-26-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 27 January 2015, 12:23 PM EST
Location: Saskatchewan
Posts: 20,169
Thanks: 862
Thanked 3,503 Times in 3,271 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
Old 03-26-2013
bitlord bitlord is offline
Registered User
Join Date: Mar 2010
Last Activity: 9 January 2015, 12:06 PM EST
Posts: 337
Thanks: 12
Thanked 44 Times in 40 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
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
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

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

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 10: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 02:39 AM
SSH keys new2ss UNIX for Dummies Questions & Answers 1 01-05-2007 09:21 AM
SSH Keys Help sysera UNIX for Advanced & Expert Users 1 08-10-2004 03:57 AM

All times are GMT -4. The time now is 05:12 AM.