Unix/Linux 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

Thread Tools Search this Thread Display Modes
Old Unix and Linux 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 Unix and Linux 03-26-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 25 September 2017, 6:50 PM EDT
Location: Saskatchewan
Posts: 22,424
Thanks: 1,127
Thanked 4,240 Times in 3,920 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 Unix and Linux 03-26-2013
bitlord bitlord is offline
Registered User
Join Date: Mar 2010
Last Activity: 20 May 2016, 11:47 AM EDT
Posts: 339
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 Unix and Linux 03-27-2013
mkeyes001 mkeyes001 is offline
Registered User
Join Date: Aug 2009
Last Activity: 7 May 2015, 5:41 PM 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 Unix and Linux 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 01:42 AM.