The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
grep unix.com with google



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-27-2009
Registered User
 

Join Date: Apr 2007
Location: Kolkata
Posts: 87
Password less connection(sftp/ssh)

Dear All,

I'm trying to configure a passwordless connection between two servers of HP-UX. i have srearched the configuration in google so many times and as per the guidence i have done all the steps, but still its not working and every time it is asking for password while trying to scp some file from local to remote.

SERVERA
user:abc

SERVERB
user:xyz

could anyone suggest how can i resolve the issue. Please note that i dont have root access. but all the credentials of abc@SERVERA and xyz@SERVERB i have with me. Please help

Regards,
Pankaj
  #2 (permalink)  
Old 11-27-2009
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 2,541
I guess at least one of the steps of the guide was done wrong or is missing. There is also a lot of threads in this forum regarding this topic which can be displayed by using the search function of the forum.

Nevertheless it is basically that you create with ssh-keygen a key pair for each user - when being asked for a passphrase just press ENTER to keep it empty. Then you add the public key of user abc in the .ssh/authorized_keys and/or .ssh/authorized_keys2 of the user xyz and vice versa.

Last edited by zaxxon; 11-27-2009 at 10:53 AM.. Reason: added missing info
  #3 (permalink)  
Old 11-27-2009
fpmurphy's Avatar
Moderator
 

Join Date: Dec 2003
Location: Florida
Posts: 2,030
It is possible that the system adinistration has disabled this option.
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sftp connection from Unix to windows Renjesh Shell Programming and Scripting 7 09-09-2009 07:22 AM
sftp Connection from Unix to Windows 2003 server using Passphrase vijayin Shell Programming and Scripting 1 09-08-2009 02:07 PM
What are the configeration need to done to enable sftp connection to Windows m/c GIC1986 SUN Solaris 15 09-10-2008 05:40 AM
SFTP Connection Closed ed.browne UNIX for Advanced & Expert Users 1 07-23-2008 02:07 AM
ssh/sftp failure connection james_falco UNIX for Advanced & Expert Users 3 03-27-2007 12:19 PM



All times are GMT -4. The time now is 02:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0