06-25-2012
You can use existing key, but you need to make key exchange between server1 and server3 as you did between server2 and server3 initially.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to transfer multiple files using SCP between two solaris machines. Can somebody explain how to achieve that ? (3 Replies)
Discussion started by: parthum
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
How do i know if the files are transferred succesfully when i use SCP to transfer files between 2 servers.
One more is i am trying to send all the files in a single shot by using * to save the connection time. So can i know when the scp breakes in the middle
scp $sourcepath/*... (9 Replies)
Discussion started by: vijaykrc
9 Replies
3. Shell Programming and Scripting
Hi Frdz
I have a problem like.
I need to transfer a file from source to destination (different systems with different IPs) using "scp" command and before transfer the file i have to check the file is available in destination or not, if it is there no need to transfer, otherwise we have to... (5 Replies)
Discussion started by: KiranKumarKarre
5 Replies
4. UNIX for Dummies Questions & Answers
I have a shell script which uses SCP command to transfer the files from one server to another server. The files are getting transferred successfully, but the problem is the files transferred to the destination server didnot have the permissions as that of the files on the source server.
Command... (5 Replies)
Discussion started by: kumarm
5 Replies
5. Shell Programming and Scripting
FILE_LIST="{a.txt,b.txt,cal*}"
scp -r $..$REMOTE_PATH$FILE_LIST $LOCAL_PATH
This script passes only when all the three files are transfere, wat if only two file are transfered, but still I was to make the return code as pass.
is it possible. (2 Replies)
Discussion started by: sangea
2 Replies
6. UNIX for Advanced & Expert Users
I am not able to throw a file from server173 to server067
i.e.
wlsuser@server173> scp /tmp/harsha.txt wlsuser@server067:/tmp
fails
However, I am able to pull a file from server173 onto server067's /tmp dir
wlsuser@server067> scp wlsuser@server173:/tmp/harsha.txt /tmp... (2 Replies)
Discussion started by: shifahim
2 Replies
7. UNIX for Advanced & Expert Users
Whenever I transfer file through SCP between two server it gives below given message.....Is there a way to avoid it....
Target server : newyork
$ scp ABC27801.iue newyork:./iABC/x0017801.iue
Message
=====
This system is for the use of authorized users only. Individuals using this... (1 Reply)
Discussion started by: Pash
1 Replies
8. UNIX for Advanced & Expert Users
On unix AIX server, when I am trying to transfer file from one directory to another directory on the same server through a program(where i call the script) it gives error "Lost Connection". (5 Replies)
Discussion started by: Pash
5 Replies
9. AIX
I am testing the following command to transfer a file from my server (AIX 5.2) to another server. I was able to generate the keys and sent them the public key.
scp -v -P 4030 /home/lawson/.ssh/jimtest.txt someuser@some.ftpsite.net:/Inbound/jimtest.txt > jimtest_out.txt 2>&1
Based on... (3 Replies)
Discussion started by: jyoung
3 Replies
10. Shell Programming and Scripting
I am trying to transfer a zip file of around 30 MB in my automation script using scp from system A to B.
When I manually do scp, file is complete transferred but when automation shell script runs it, zip file is not completely transferred.
Stack Trace while doing manual :
Executing:... (1 Reply)
Discussion started by: Shaishav Shah
1 Replies
LEARN ABOUT DEBIAN
ns_configgetint64
Ns_Config(3aolserver) AOLserver Library Procedures Ns_Config(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
Ns_ConfigGetBool, Ns_ConfigGetInt, Ns_ConfigGetInt64, Ns_ConfigGetPath, Ns_ConfigGetSection, Ns_ConfigGetSections, Ns_ConfigGetValue,
Ns_ConfigGetValueExact - Extract information from the server configuration files
SYNOPSIS
#include "ns.h"
int
Ns_ConfigGetBool(char *section, char *key, int *valuePtr)
int
Ns_ConfigGetInt(char *section, char *key, int *valuePtr)
int
Ns_ConfigGetInt64(char *section, char *key, INT64 *valuePtr)
char *
Ns_ConfigGetPath(char *server, char *module, ...)
Ns_Set *
Ns_ConfigGetSection(char *section)
Ns_Set **
Ns_ConfigGetSections(void)
char *
Ns_ConfigGetValue(char *section, char *key)
char *
Ns_ConfigGetValueExact(char *section, char *key)
_________________________________________________________________
DESCRIPTION
These functions allow you to extract information from the server config files.
Ns_ConfigGetBool(section, key, valuePtr)
Examines key in section and returns NS_TRUE for values 1, y, yes, on, t, or true, case insensitive, and sets valuePtr to 1. Returns
NS_FALSE for values 0, n, no, off, f, false, case insensitive, and sets valuePtr to 0.
Ns_ConfigGetInt(section, key, valuePtr)
Examines key in section and attempts to convert to an integer value. On success, returns NS_TRUE, otherwise NS_FALSE. The value of
the integer is placed into valuePtr.
Ns_ConfigGetInt64(section, key, valuePtr)
Like Ns_ConfigGetInt, but with INT64 data instead of system-native int types. This function isn't available on WIN32.
Ns_ConfigGetPath(server, module, ...)
Get the full name of a config file section if it exists. Returns a pointer to to an ASCIIZ string of the full path name, or NULL if
that path is not in the config file. The server and/or module parameters may be NULL and must be followed a variable list of addi-
tional parameters, the last element of which must be NULL.
Examples:
Ns_ConfigGetPath("server1", "nscp", NULL)
returns "ns/server/server1/module/nscp"
Ns_ConfigGetPath("server1", "nscp", "users", NULL)
returns "ns/server/server1/module/nscp/users"
Ns_ConfigGetPath(NULL, "globalmod", "subsect1", "subsect2", NULL)
returns "ns/module/globalmod/subsect1/subsect2"
Ns_ConfigGetSection(section)
Returns an Ns_Set of the section's parameters, or NULL if the section does not exist.
Ns_ConfigGetSections()
Returns a pointer to an array of pointers to Ns_Sets, one for each config section. The result is a malloc'ed copy of the config sec-
tions.
Ns_ConfigGetValue(section, key)
Returns a pointer to the value of the key in section, or NULL if the key doesn't exist.
Ns_ConfigGetValueExact(section, key)
Case sensitive equivalent of Ns_ConfigGetValue.
SEE ALSO
nsd(1), info(n)
KEYWORDS
AOLserver 4.0 Ns_Config(3aolserver)