Sponsored Content
Special Forums Cybersecurity automatic SCP transfers issues Post 302434047 by pludi on Thursday 1st of July 2010 07:37:05 AM
Old 07-01-2010
Which scp do you use? From the debug output it seems that the server will only communicate using SSHv2, while your client insists on using SSHv1 (which is long outdated).
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

automatic transfering of files using scp

I'm in the process of writing a shell script with copies files from one linux box to another using scp. I wish to run this through a cronjob so it cannot be interactive. This is what I have so far. #!/bin/sh PASSWD='passswd' dateset=$( date | awk '{print $2 $3 $6}') for dates in $dateset;... (1 Reply)
Discussion started by: tcruicksh
1 Replies

2. UNIX for Dummies Questions & Answers

History of old FTP transfers

How can one find the name and size of files ftp'ed during an old ftp transfer. Is there any log where these details are stored or any UNIX command which can provide these details. Thanks in advance. (4 Replies)
Discussion started by: Nakul Mukerjee
4 Replies

3. UNIX for Dummies Questions & Answers

probloem in scp command 99% content only transfers

hi every one.. i am new to working in unix environment.. i have a problem in transferring files using scp command.. i am transferring files using scp command on one unix manchine to another unix machine.. the syntax is scp -r sourcedirectory destination directory The files in sourcedirectory... (1 Reply)
Discussion started by: GovindGembali
1 Replies

4. Shell Programming and Scripting

automatic scp download (without the use of ssh keys)

Hi guys, I need to automate scp downloads from a server to which I do not have the ability to upload my public key for automatic logins. I know there is something called expect, but I wasn't sure if that was the best way to go. Basically I am executing a scp download command and I need the... (2 Replies)
Discussion started by: caprica13
2 Replies

5. UNIX for Advanced & Expert Users

ssh - transfers with gateway hopping

Hi, I am having trouble transferring files from a source UNIX machine to a destination UNIX machine by hopping via 2 gateway machines. The user used for the transfer has been setup/authorized so no password is required to login. Summerized: source to gateway1 to gateway2 to destination ... (2 Replies)
Discussion started by: Solarius
2 Replies

6. Shell Programming and Scripting

For loop scp transfers check if all iterations successful

All, I am using a for loop to SCP a bunch of files in a directory. I am having it then drop a .ready file name. Is there a way to check for the success of all iterations and then email upon fail or success? Example of part of my script: for file in $ORIGLOC/* do ] &&... (2 Replies)
Discussion started by: markdjones82
2 Replies

7. Programming

Automatic SFTP transfers using OpenSSH on Windows and C#

I would like to create console application in c# to automate the process of downloading some files from a SFTP server to my local hard drive at a set time each week/day. SFTP Server installed OpenSSH for windows and client machine also. Any ideas how I could do such a task? or sample code. ... (0 Replies)
Discussion started by: sufiiyan
0 Replies

8. UNIX for Dummies Questions & Answers

Does SCP return an error code for network issues

Hello everyone, In a script, I am using SCP to copy huge file to another host. scp -qrp hugefile.txt /opt/perf05/tmp However, we have noticed that this file is not being copied. I am suspecting this was because we are losing connection while copying this... (1 Reply)
Discussion started by: qwarentine
1 Replies

9. Shell Programming and Scripting

Scp/Rsync transfers stopped working?

Hi all, I have a backup script from my work computer to my home computer for my research for multiple reasons. It's a simple rsync script, with about 5 gigs of data. (Obviously with rsync it doesn't transfer 5 GB every time.). Recently, it has stopped working, scp also doesn't work, it simply... (1 Reply)
Discussion started by: corrado33
1 Replies

10. Shell Programming and Scripting

Automatic scp Script

I need a script to automatically scp the latest files on DIR1,DIR2 and DIR3 from Source to destination server at same place(DIR1,DIR2 and DIR3) . Further details are: Source Server (192.168.1.5) DIR1 DIR2 DIR3 Destination Server (192.168.1.10) DIR1 DIR2 DIR3 (7 Replies)
Discussion started by: refra
7 Replies
BOOTPC(8)                                                     Debian GNU/Linux Manual                                                    BOOTPC(8)

NAME
bootpc - bootp client SYNOPSIS
bootpc [--bootfile file] [--dev device] [--verbose] [--debug] [--server addr] [--hwaddr addr] [--returniffail] [--waitformore length] [--in2host addr] [--serverbcast] [--help] DESCRIPTION
This manual page documents briefly the bootpc command. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. bootpc is a boot protocol client used to grab the machine's IP address, set up DNS nameservers and other useful information. OPTIONS
--bootfile file Tell the server to use file as the boot file. --dev device Use device to communicate with the server. --verbose Be verbose. --debug Produce debugging output. --server addr Use the IP address addr to communicate with the server. --hwaddr addr Use addr as our hardware address rather than what the operating system gives us. --returniffail Terminate the program if a failure occurs. By default bootpc will ask the user to press a key if the request did not succeed. --waitformore length Wait for more responses when one is received. bootpc will wait for at most length seconds. This is probably only useful for debug- ging. --in2host addr Takes an address and returns useful bits of the name after lookup, this was a separate program, but it is more compact to have both together. --serverbcast Tell the server to send back a broadcast reply. This is necessary on Linux 2.1 and 2.2. --help Display the usage of bootpc. AUTHOR
This manual page was written by Herbert Xu <herbert@debian.org>, for the Debian GNU/Linux system (but may be used by others). BOOTPC 1999 March 21st BOOTPC(8)
All times are GMT -4. The time now is 07:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy