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 only works for root dfezz1 UNIX for Advanced & Expert Users 3 06-05-2009 05:37 PM
>./a.pl works, >a.pl - does not zzol UNIX for Dummies Questions & Answers 4 02-03-2009 12:09 PM
how this works? vijay_0209 High Level Programming 7 09-04-2008 08:42 AM
SFTP Failed---Request for subsystem 'sftp' failed on channel 0 mahiban AIX 0 07-25-2008 02:51 AM
How ls | wc -l works? krishmaths UNIX for Dummies Questions & Answers 3 04-11-2008 04:16 PM

Reply
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-11-2009
hegdeshashi hegdeshashi is offline
Registered User
  
 

Join Date: May 2009
Posts: 28
how it works ? sftp

Hi,

I am curious about this script , how it is running ..?

#!/bin/sh
echo "OK, starting now..."
ftp remotehost <<EOF

When I run , it is asking
OK, starting now...
Password:Name (remotehost):

SHould I enter only password ?

and explain me how it works..

thanks in advance..
  #2 (permalink)  
Old 06-11-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,926
Your title says "sftp" but your script shows that you are using ftp. Which is it?
  #3 (permalink)  
Old 06-11-2009
eskiphill4 eskiphill4 is offline
Registered User
  
 

Join Date: Oct 2008
Location: Pacific Northwest
Posts: 12
ftp is an unencrypted transfer. You may need to provide a password if you are accessing a protected directory. Anonomous ftp works by just being lax in the authentication. You enter anonomous as the account an email address as the password. Few systems even validate the email for form, less accuracy.

sFTP is an encrypted transfer. You may use a password to authenticate to a host. (or you can use a digital certificate).
  #4 (permalink)  
Old 06-12-2009
hegdeshashi hegdeshashi is offline
Registered User
  
 

Join Date: May 2009
Posts: 28
okay,thanks,,

I need to transfer some of the log files from one host to another, while transfering it should not ask any password,so is it possible to do ?/ ?

thanks in advance..
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 On




All times are GMT -4. The time now is 07:20 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