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: Nov 2009
Posts: 7
scp command and no response

I should trasfer some files by xxx.xxx.xxx.xxx to local host.
In order to check the function works i tried to transfer a single file and I typed:

Code:
scp -P 21 username@xxx.xxx.xxx.xxx:/filename.nas /filename.nas

At this point i haven't response anch i have to type CTRL+C to return to console.

Can you help me?

Last edited by zaxxon; 11-27-2009 at 10:51 AM.. Reason: code tags please
  #2 (permalink)  
Old 11-27-2009
aigles's Avatar
aigles aigles is offline Forum Advisor  
Registered User
 

Join Date: Apr 2004
Location: Bordeaux, France
Posts: 1,434
Add the -v option to display debug informations
Code:
scp -v -P 21 username@xxx.xxx.xxx.xxx:/filename.nas /filename.nas

Jean-Pierre.
  #3 (permalink)  
Old 11-27-2009
Registered User
 

Join Date: Nov 2009
Posts: 7

Code:
au3v3 # scp -v -P 21 username@xxx.xxx.xxx.xxx:/filename.nas /config.nas
Executing: program /usr/bin/ssh host xxx.xxx.xxx.xxx, user username, command scp -v -f /filename.nas
Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to xxx.xxx.xxx.xxx[xxx.xxx.xxx.xxx] port 21.
debug1: Connection established.
debug1: identity file /.ssh/identity type -1
debug1: identity file /.ssh/id_rsa type -1
debug1: identity file /.ssh/id_dsa type -1
debug1: ssh_exchange_identification: 220 MiniFTP Service Ready


Last edited by andreac81; 11-27-2009 at 11:33 AM.. Reason: code tags please
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
Setting array equal to command response pattywac Shell Programming and Scripting 4 07-20-2008 10:15 AM
'less' command response is garbled amitpansuria UNIX for Dummies Questions & Answers 4 06-16-2008 06:55 AM
response of a for loop?! marwan UNIX for Dummies Questions & Answers 2 06-25-2007 10:59 AM
Slow cd response JohnOB SCO 0 09-13-2006 10:31 PM
trying to get a boolean response from sed badg3r Shell Programming and Scripting 4 05-30-2006 06:41 AM



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