06-22-2006
Hi,
I am expeiencing the following problem with sftp. I am using this for the first time to get some files from server 1 to server2. The connection to the remote host is OK. But when I try to get a file, I get the following message:
Disconnected; protocol error (Protocol error: packet too long: 56548.).
Warning: child process (/usr/bin/ssh2) exited with code 66.
Any suggestions, please
Thanks
10 More Discussions You Might Find Interesting
1. AIX
Hi,
I need to implement sftp between server 1 and server2.
I have already generated the public key using account user1 on server 1 and and sent it to the administrator of server2.
I have also finished updating the identification file at /home/user1/.ssh2
I have an account created... (2 Replies)
Discussion started by: tansha
2 Replies
2. Shell Programming and Scripting
Hi all,
I generally use the something along the lines of the following when I need to perform SFTP's ... sftp -v -o IdentityFile=${IdentityFile} \
-b ${SFTP_BATCH_FILE} \
${USRID}@${IP_OR_DNS}:${REMOTE_DIR} 2>&1 | tee -a ${SFTPLOG}Now currently we are not using any passphrase... (4 Replies)
Discussion started by: Cameron
4 Replies
3. Shell Programming and Scripting
Hi all,
Can anyone help ...on how to ensure that a file is locked .
thanks & regards,
Soodoo
----------------------------------------
Problem description: -
We usually use the mv command in scripts to make sure that a file is complete and not being written to by another process.
... (1 Reply)
Discussion started by: soodoo
1 Replies
4. Shell Programming and Scripting
I have Windows server setups consisting two servers to work on.
I have to run a batch file on server 2 (say, Batch2) by running a batch file on server 1 (Say, Batch1).
We have Tectia SSH server-client setup.
Could anyone please tell the script/code for Batch1? (1 Reply)
Discussion started by: sakha83
1 Replies
5. AIX
Guys,
sftp between Unix & Windows
I'd like to get good software or a way to how to configure sftp between ( windows to Unix ) and ( Unix to windows ) to be automatic login between the different operating systems without asking password ..
Pls assist in this regard … (3 Replies)
Discussion started by: Mr.AIX
3 Replies
6. Solaris
Hi,
Earlier, I have configured SFTP successfully in my prev jobs.
This time I have to configure SFTP for local server (uses SSH2) and remote server (uses SSH).
I tried to search the forum. I did not find the right thread.
I appreciate your help.
The following is the additional info
>... (5 Replies)
Discussion started by: bobbygsk
5 Replies
7. Shell Programming and Scripting
I have an ftp statement that when it restarts, it will write over the top of the file at the other end, rather than append to the file part sitting at the destination.
This is a problem because the flaky connection fails so regularly that the 2GB file I try to transfer will never complete.
... (2 Replies)
Discussion started by: rupert160
2 Replies
8. Solaris
Hello all, does anybody knows a procedure to enable an chroot for users using ssh and sftp ? Thanks (1 Reply)
Discussion started by: celord
1 Replies
9. UNIX for Dummies Questions & Answers
Plz share how we can make a passwordless SSH connection from a SSH1 UNIX server to SSH2 UNIX server. (3 Replies)
Discussion started by: krishna87
3 Replies
10. Shell Programming and Scripting
Hi All,
Do you have any sample script,
- auto get file from SFTP remote server and delete file in remove server after downloaded.
- only download specify filename
- auto upload file from local to SFTP remote server and delete local folder file after uploaded
- only upload specify filename
... (3 Replies)
Discussion started by: weesiong
3 Replies