The UNIX and Linux Forums  

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
passwordless authentication of SFTP script uday.shankar Shell Programming and Scripting 13 4 Weeks Ago 12:39 PM
authorized_keys and passwordless login mcrouch_2003 Red Hat 6 05-09-2008 02:28 PM
Passwordless sftp from UNIX to windows site konark Shell Programming and Scripting 2 03-24-2008 02:36 PM
Passwordless root authentication via SSH sphericon AIX 3 11-20-2007 09:58 AM
Passwordless authentication via SSH RegX AIX 1 08-29-2007 10:42 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-20-2008
manneni prakash manneni prakash is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 30
Passwordless SFTP

Hi, When Iam trying to do SFTP it is asking for password everytime. Can I have any alternative where I can provide the password in script itself. Because there are some control-M jobs which runs without user interaction. So please let me know the script where we can provide the password in the script itself so that the password will be automatically triggered.
  #2 (permalink)  
Old 06-20-2008
zaxxon's Avatar
zaxxon zaxxon is online now Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,323
You should exchange the public keys for the users that are going to do that sftp. If they have them already exchanged and it still doesn't work or if you have to create them, don't enter a passphrase/password when asked to. Else it will not work and will ask you all the time for the pw.

One of the maaaaany sites talking about it:
SSH Without a Password
  #3 (permalink)  
Old 06-20-2008
manneni prakash manneni prakash is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 30
Thanks

Thanks zaxxon.... Will look into it......
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 07:22 AM.


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