Sponsored Content
Full Discussion: Validating scp connection
Top Forums Shell Programming and Scripting Validating scp connection Post 302978644 by Girish19 on Tuesday 2nd of August 2016 07:37:12 AM
Old 08-02-2016
We are actually creating a script to validate scp conn. So if i create a test file and transfer means there are chances of some invalid files in the target servers.

I don't want to trouble the targer servers for our testing...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

validating dates

This is what I have to check date entries in an interactive script with the end users... I use this to build control cards for a reporting utility supplied by a software vendor. I also want to check to make sure its a valid day based on the month (ie 30days has sept, april, june and Nov..)... ... (2 Replies)
Discussion started by: MizzGail
2 Replies

2. Shell Programming and Scripting

Validating $1 and $2 before using

Hi there, I'm trying to validate my $1 and $2 before I use them in the sqlplus update, I think I have the validation rules set correctly??? however when I test my script, it jumps straight into the sql. It doesn't seem to validate the vars....even when I know they are incorrect. if ; then ... (6 Replies)
Discussion started by: nhatch
6 Replies

3. Shell Programming and Scripting

validating 10. IP address any way possible

HELP: validating IP addresses any way possible -------------------------------------------------------------------------------- I am trying to validate input from the user in a script. I thought is was easy to do using regular expressions but I can't figure out how to use REs in a... (1 Reply)
Discussion started by: nrodolfich
1 Replies

4. Shell Programming and Scripting

validating data

I have a file like the following aaaaa00005bbbbb aaaaa00108bbbbb The code "00005" and "00108" need to be validated and the list of valid codes are stored in a database. While I loop through the file, should call a sql statement for every records to do the validation? or is... (1 Reply)
Discussion started by: joanneho
1 Replies

5. HP-UX

SCP transfer failed, lost connection

Hello, We try to do an SCP of a Sybase dump file of 4Go between two production HP-UX servers. Each time the transfer stopn at 299Mo and we have the message "connection lost". The destination FS has largefiles option activated. Could you help ? (7 Replies)
Discussion started by: ohemeg
7 Replies

6. UNIX for Advanced & Expert Users

Connection reset by peer..closing connection

Hello I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS). What's happening is... (1 Reply)
Discussion started by: subramanyab
1 Replies

7. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

8. UNIX for Dummies Questions & Answers

SCP Connection Timeout

Hello UNIX users, Thanks for helping me in my earlier post. Now, I am facing a timeout issue when ever I am transferring a zipped file from my server to client's server. If the zipped file size is below 3 MB, it goes fine. Anything above that fails. Below is the part of screenshot from... (1 Reply)
Discussion started by: st3636
1 Replies

9. UNIX for Advanced & Expert Users

keep an open connection with scp or another similar program

Does anyone know a way to keep the connection open with scp? I really don't like having to type my password in every time I want to transfer a file. Or is there another similar program that will keep my connection open? (6 Replies)
Discussion started by: cokedude
6 Replies

10. UNIX for Advanced & Expert Users

How keep running a program n an another computer via a connection ssh when the connection is closed?

Hi everybody, I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop. I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies
yppush(8yp)															       yppush(8yp)

Name
       yppush - force propagation of a changed yellow pages (YP) map

Syntax
       yppush [ -d domain ] [ -v ] mapname

Description
       The  command copies a new version of a yellow pages (YP) map from the master YP server to the slave YP servers.	It is normally run only on
       the master YP server by the utility accessing the after the master YP databases have been changed.  When invoked, first constructs  a  list
       of YP server hosts by reading the YP map ypservers within the domain.  Keys within the map ypservers are the ASCII names of the machines on
       which the YP servers run.

       A transfer map request is sent to the YP server at each host, along with the information needed by the transfer agent  (the  program  which
       actually  moves the map) to call back the command.  When the attempt has completed (successfully or not), and the transfer agent has sent a
       status message, the results can be printed to stdout.  Messages are also printed when a transfer is not possible,  for  instance  when  the
       request message is undeliverable, or when the timeout period on responses has expired.

       Refer to and for an overview of the yellow pages.

Options
       -d     Specify a domain.

       -v     Verbose.	 This causes messages to be printed when each server is called, and for each response.	Without this flag, only error mes-
	      sages are printed.

Restrictions
       In the current implementation (version 2 YP protocol), the transfer agent is which is started by the program.  If detects that it is speak-
       ing  to	a  version  1  YP protocol server, it uses the older protocol, sending a version 1 YPPROC_GET request and issues a message to that
       effect.	Unfortunately, there is no way of knowing if or when the map transfer was performed for version 1 servers.  The command  prints  a
       message	saying that an old-style message has been sent.  The system administrator should later check to see that the transfer has actually
       taken place.

Files
       /etc/yp/domainname/ypservers.{dir, pag}

See Also
       ypfiles(5yp), ypserv(8yp), ypxfr(8yp)

																       yppush(8yp)
All times are GMT -4. The time now is 01:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy