The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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



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

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SFTP Protocol: How to transfer the file in PC Format brap45 HP-UX 2 06-17-2008 12:44 PM
sftp command for file transfer mohanpadamata UNIX for Advanced & Expert Users 2 06-12-2008 09:45 AM
SFTP Transfer Across Multiple Servers Cameron Shell Programming and Scripting 0 05-20-2008 09:08 AM
transfer word document using ftp,sftp artikulkarni UNIX for Dummies Questions & Answers 3 02-17-2008 07:10 PM
How to transfer files (By using generic script) when using sftp gsri Shell Programming and Scripting 0 08-28-2006 09:39 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-16-2008
Satyak Satyak is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 85
Post sftp file transfer

hi
i am trying to login to remote server using SFTP Protocol and trying to upload a file butit is asking for the password.

Note: I am trying to connect to FrontEnd server

sftp SFTREGUP1@14.71.26.6
Connecting to 14.71.26.6...
Password Authentication
Password:


Please help
  #2 (permalink)  
Old 07-16-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,257
1) The remote server must have your public key in his authorized_keys.
2) The keys must not be generated with a passphrase/password.
3) Check your favourite search engine with the string "ssh without password" to get more info.
  #3 (permalink)  
Old 07-16-2008
Satyak Satyak is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 85
Post sftp file transfer

hi zaxxon
i have done all the requirements,but stil it is not working.
can u please explain the problem
  #4 (permalink)  
Old 07-16-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,257
As I wrote - either the public key of your ftp user is not added in the authorized_keys on the destination system or there has been entered a password/passphrase when generating that key.

If you did both, what does a
Code:
ssh SFTREGUP1@14.71.26.6 "ls"
show?
  #5 (permalink)  
Old 07-16-2008
Satyak Satyak is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 85
Post sftp file transfer

hi zaxxon

can u please tell how to checjk the Fingerprint and the passphrase for the bothservers
  #6 (permalink)  
Old 07-16-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,257
I don't know how to retrieve the passphrase for a key. Try asking the guy that created it, if he wrote it down in some sealed envelope.
Maybe it's easier to recreate the key and exchange it on the systems.

You did not write what error came when using ssh.
  #7 (permalink)  
Old 07-16-2008
Satyak Satyak is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 85
Post sftp login

hi zaxxon

i have 4 servers in cluster environment 2 are backend and 2 are frontend.
For backend servers i am bale to login using sftp protocol without password but for frontend servers only the server is asking for the password.

This is the complete information can u please explain the problem
Sponsored Links
Closed Thread

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 On



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


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
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