Sponsored Content
Full Discussion: Validating scp connection
Top Forums Shell Programming and Scripting Validating scp connection Post 302978633 by rbatte1 on Tuesday 2nd of August 2016 06:44:23 AM
Old 08-02-2016
My suggestion to create a dummy file was to check the other parts of the process, not just the secure connection so that you can be sure you are getting to the right path and that the id you connect with can actually read a file with the same permissions. Without that, you are not really testing it properly.

It doesn't have to be a large file if you are worried about the network traffic and time.

Can I presume that you are building up a remote path/filename in your script? If so, are you sure you can get to it? That is the point of testing with a dummy file.



Robin
 

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
CIPTOOL(1)																CIPTOOL(1)

NAME
ciptool - Bluetooth Common ISDN Access Profile (CIP) SYNOPSIS
ciptool [ options ] < command > DESCRIPTION
ciptool is used to set up, maintain, and inspect the CIP configuration of the Bluetooth subsystem in the Linux kernel. OPTIONS
-h Gives a list of possible commands. -i <hciX> | <bdaddr> The command is applied to device hciX , which must be the name or the address of an installed Bluetooth device. If not specified, the command will be use the first available Bluetooth device. COMMANDS
show Display information about the connected devices. search Search for Bluetooth devices and connect to first one that offers CIP support. connect <bdaddr> [psm] Connect the local device to the remote Bluetooth device on the specified PSM number. If no PSM is specified, it will use the SDP to retrieve it from the remote device. release [bdaddr] Release a connection to the specific device. If no address is given and only one device is connected this will be released. loopback <bdaddr> [psm] Create a connection to the remote device for Bluetooth testing. This command will not provide a CAPI controller, because it is only for testing the CAPI Message Transport Protocol. AUTHOR
Written by Marcel Holtmann <marcel@holtmann.org>. JUNE 6, 2003 CIPTOOL(1)
All times are GMT -4. The time now is 09:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy