Unix/Linux Go Back    


UNIX for Beginners Questions & Answers If you're not sure where to post a Unix or Linux question, post it here. All unix and Linux beginners welcome in this forum!

File transfer between Linux server without password

UNIX for Beginners Questions & Answers


Tags
key-exchange, solved, ssh

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 1 Week Ago   -   Original Discussion by renukeswar
renukeswar's Unix or Linux Image
renukeswar renukeswar is offline
Registered User
 
Join Date: Jan 2017
Last Activity: 14 December 2017, 12:36 PM EST
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
File transfer between Linux server without password

Hi All,

I am trying to generate SSH keys for file file transfer automation but facing issue while generating keys.


And I tried from another directory but still facing same issue.


Code:
Error : Open scripts/renu/.ssh/rsa_id failed : Is a directory
Saving the key failed :scripts/renu/.ssh/rsa_id

Can someone please help me on this.

Regards,
Renukeswar

Last edited by rbatte1; 1 Week Ago at 11:00 AM.. Reason: Added CODE tags
Sponsored Links
    #2  
Old Unix and Linux 1 Week Ago   -   Original Discussion by renukeswar
Scott's Unix or Linux Image
Scott Scott is offline Forum Staff  
Administrator
 
Join Date: Jun 2009
Last Activity: 9 December 2017, 8:47 PM EST
Posts: 8,945
Thanks: 380
Thanked 1,238 Times in 1,052 Posts
Well, on the face of it, rsa_id, by which you probably meant id_rsa, is a directory, but should be a file, the private key. Have a look in there, and remove the directory.

What's the command you are running?
Sponsored Links
    #3  
Old Unix and Linux 1 Week Ago   -   Original Discussion by renukeswar
renukeswar's Unix or Linux Image
renukeswar renukeswar is offline
Registered User
 
Join Date: Jan 2017
Last Activity: 14 December 2017, 12:36 PM EST
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Thank a lot Scott for your prompt response and I am able to create keys now.

---------- Post updated at 11:40 AM ---------- Previous update was at 08:44 AM ----------

Hi All,

I am trying to transfer files using sftp and I have generated ssh keys, and copied public key in target server but still it's asking to enter password while transfer file to target server.

Can someone please help on this?

Regards,
Renukeswar
    #4  
Old Unix and Linux 1 Week Ago   -   Original Discussion by renukeswar
RudiC's Unix or Linux Image
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 15 December 2017, 4:34 AM EST
Location: Aachen, Germany
Posts: 11,809
Thanks: 340
Thanked 3,659 Times in 3,357 Posts
Please open a new thread for a new problem.
Describe the problem in GREAT detail, as the reason may be permissions, protocol versions, host key checking, deviating login user, and more.
Sponsored Links
    #5  
Old Unix and Linux 1 Week Ago   -   Original Discussion by renukeswar
renukeswar's Unix or Linux Image
renukeswar renukeswar is offline
Registered User
 
Join Date: Jan 2017
Last Activity: 14 December 2017, 12:36 PM EST
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Hi Rudic, Opened new thread as you suggested.

post303008946
Sponsored Links
Reply

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
Transfer file from server B to server C and running the script on server A kiran_j UNIX for Dummies Questions & Answers 4 12-18-2013 06:55 AM
File transfer from Windows machine to Linux server gowrishankar05 Shell Programming and Scripting 3 09-28-2011 12:14 AM
How transfer sql file from one serverto another without username and password Arpitmitm AIX 1 06-01-2008 03:52 AM
Transfer file from local unix server to remote server indira Shell Programming and Scripting 2 05-03-2007 07:35 AM
Transfer file from local unix server to remote server indira HP-UX 2 05-02-2007 06:15 PM



All times are GMT -4. The time now is 11:53 AM.