SCP/SFTP- Stalled- solaris


 
Thread Tools Search this Thread
Operating Systems Solaris SCP/SFTP- Stalled- solaris
# 1  
Old 07-31-2012
SCP/SFTP- Stalled- solaris

hello all,
I am getting the following error with the SCP/Sftp is getting stalled on solaris 10 .
Code:
pxxx_xxx_SOLARIS64_1of7.zip                                                                         0% 2068KB   0.0KB/s - stalled -Write failed: Broken pipe
pxxx_xxx_SOLARIS64_1of7.zip                                                                         0% 2068KB   0.0KB/s - stalled -pxxx_xxx_SOLARIS64_1of7.zip                                                                         0% 2068KB   0.0KB/s - stalled

this zip file is of size 1.4G , the same happens if the filesize is 258M or even less .

I have tried limiting the speed to using
Code:
scp -l 16384 <source file> <destination server>:<destination location>

to 16384, still its getting stalled ..Smilie

can someone please help..
# 2  
Old 07-31-2012
Okay - this can be a problem on the other end, for example, permissions.
Can you sftp the file manually, ie use sftp from the command line to move the file? scp is a little terse in the error department sometimes.

What does scp -v show?
# 3  
Old 07-31-2012
Code:
$ scp -v -l xxxx_SOLARIS64.zip oragrid@abcd.com:/u01/software/
Executing: program /usr/local/bin/ssh host abcd.com, user oragrid, command scp -v -t -- /u01/software/
OpenSSH_5.9p1, OpenSSL 1.0.0e 6 Sep 2011
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: /usr/local/etc/ssh_config line 49: Applying options for *
debug1: /usr/local/etc/ssh_config line 54: Deprecated option "FallBackToRsh"
debug1: /usr/local/etc/ssh_config line 55: Deprecated option "UseRsh"
debug1: Connecting to abcd.com [xxx.xxx.xx.xx] port 22.
debug1: Connection established.
debug1: identity file /usr/users/oragrid/.ssh/id_rsa type 1
debug1: identity file /usr/users/oragrid/.ssh/id_rsa-cert type -1
debug1: identity file /usr/users/oragrid/.ssh/id_dsa type 2
debug1: identity file /usr/users/oragrid/.ssh/id_dsa-cert type -1
debug1: identity file /usr/users/oragrid/.ssh/id_ecdsa type -1
debug1: identity file /usr/users/oragrid/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9
debug1: match: OpenSSH_5.9 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA 89:8b:73:aa:55:ef:f9:4c:1c:04
debug1: Host 'abcd.com' is known and matches the RSA host key.
debug1: Found key in /usr/users/oragrid/.ssh/known_hosts:4
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
 
logon message

debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /usr/users/oragrid/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
Authenticated to abcd.com ([xxx.xxx.xx.xx]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Sending command: scp -v -t -- /u01/software/
Sending file modes: xxxx_SOLARIS64.zip
Sink: xxxx_SOLARIS64.zip
xxxx_SOLARIS64.zip                                                                              0% 2068KB  78.9KB/s - stalled -^
p13xxxx_SOLARIS64.zip    0% 2068KB  71.0KB/s - stalled

i tried giving 777 permission to destination still the same
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SFTP / SCP using password

Hi, I was provided with sftp servername, user and password and the requirement is to connect to sftp server using credentials provided and drop the file. Manually i am able to connect with commands like sftp user@servername and after clicking enter, i was asked for a password and entering... (4 Replies)
Discussion started by: forums123456
4 Replies

2. Shell Programming and Scripting

Passwordless SFTP - SCP Option?

I have read documentation on SCP and just trying to figure out how go about doing this - below are two pieces of code, one is SFTP and one is SCP. My goal is to have this done via password-less authentication, fully automated. Currently we use SFTP and the script asks for the password of the... (20 Replies)
Discussion started by: Stigy
20 Replies

3. Shell Programming and Scripting

SFTP and SCP help

Hi All, I have to make an automated script that needs to do SFTP or SCP from my Unix server to another Unix server. I have gone through search of this website for sftp and scp. I really get confused when it talk about ssh key or rsh key and sftp -b thing I would really appreciate if... (4 Replies)
Discussion started by: pinnacle
4 Replies

4. AIX

what to use sftp or scp

hi, i have a weird problem i have to copy the file with caret(^) in it. but when i tries to copy with scp. It(scp) says that it cant use ^file_name scp mohit^narang user@machine/mohit^narang the error comes in the second parameter.if i used user@machine/mohit_narang(under score) instead... (2 Replies)
Discussion started by: narang.mohit
2 Replies

5. Shell Programming and Scripting

scp script for doing sftp

Hi, I have to do SFTP from Linux machine to Salaries SFTP folder. Using psftp I got the following fingur print and I know using scp I can go the sftp transfer. But I believe I need public key file generated. Can some one pls let me know how to generate the public file using following finger... (1 Reply)
Discussion started by: iamakshay
1 Replies

6. Red Hat

sftp/scp without password

Hi, I want to use sftp/scp without password.How can I do that ?? I plan to use script with scp/sftp and execute by cronjob ,any sample or example?? How can I test the scp/sftp working or not in the same user account , in the same red linux server?? any suggestion ??? (5 Replies)
Discussion started by: chuikingman
5 Replies

7. Solaris

SFTP getting stalled.

Hi, What could be the possible reason for "sftp" stalling while pulling files? I tried with a 50kb file and still it stalled. This was working fine atleast till last week. HG (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies

8. UNIX for Advanced & Expert Users

sftp vs scp

My transmit rates are waaay faster using scp over sftp....anyone know why scp is faster than sftp? I am using solaris 8 for my unix systems. -S (2 Replies)
Discussion started by: Sowser
2 Replies

9. UNIX for Dummies Questions & Answers

sftp/scp autologin

Ive have 2 unix machines i need to transfer files from one to the other. Im trying to use either sftp or scp as ftp is out of the question. Ive created the RSA key on one machine and copied it across but im still prompted for a password. Assume this is due to the fact that im not using the same ID... (8 Replies)
Discussion started by: devid
8 Replies

10. UNIX for Dummies Questions & Answers

OpenSSH: SFTP X SCP

Hi all, I'm implementing some updates to my scripts that are now using ftp command. I was thinking about replace it by SFTP. Now I see that SCP does basically the same that SFTP. So... what are the differences between them? Thanks in advance... ;O) (1 Reply)
Discussion started by: alienET
1 Replies
Login or Register to Ask a Question