Sponsored Content
Top Forums Shell Programming and Scripting Can we connect another server Post 302849233 by RudiC on Saturday 31st of August 2013 12:39:15 PM
Old 08-31-2013
In order to work on a remote file, you either need to copy it to your local node, or you need to use a network file system, such as NFS or similar.
 

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

To Connect to Windows server from Unix server

Hi i am writing a script in unix where after some validations, i require the script to connect to a windows server and then kich off a batch file there. i tried ftp and got the error message that "the remote host refused an attempted connect operation". I am able to connect to this unix... (4 Replies)
Discussion started by: vidzz911
4 Replies

2. Shell Programming and Scripting

Connect to Server B from Server A and Archive the file

Hi I need to connect to a ServerB from Server A eg: Server A : 172.20.273.51, un: xxx, pwd: xxx Server B: 172.20.273.51, un:yyy, pwd: yyy Need to copy the files(with name starts with IME*) from /grid/pc/IME* to /grid/pc/archive What will be the command or script to... (3 Replies)
Discussion started by: vsmeruga
3 Replies

3. Linux

Generate public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (0 Replies)
Discussion started by: sridhardwh
0 Replies

4. UNIX for Advanced & Expert Users

Public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (1 Reply)
Discussion started by: sridhardwh
1 Replies

5. Shell Programming and Scripting

Connect (SSH) to Windows server via Linux server through a script and passing command.. but failing

I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd" i am trying in this manner " ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies

6. Shell Programming and Scripting

Connect to server-1 from server-2 and get a file from server-1

I need to connect to a ftp server-1 from linux server-2 and copy/get a file from server-1 which follows a name pattern of FILENAME* (located on the root directory) and copy on a directory on server-2. Later, I have to use this file for ETL loading... For this I tried using as below /usr/bin/ftp... (8 Replies)
Discussion started by: dhruuv369
8 Replies

7. Shell Programming and Scripting

Connect to one server from other server without asking password

Hi , I am using redhat linux 5.I.I need a command or script which need to login from one server to another without asking password.This can be done even providing password on the command line is also fine.I have tries sshpass but it didn't work.ssh key generations is not preferred here. ... (7 Replies)
Discussion started by: muraliinfy04
7 Replies

8. Linux

How to connect Linux server (configure two way authentication) with Windows server?

Hi my name is Manju. ->I have configure the two way authentication on my linux server. ->Now I am able to apply two way authenticator on particuler user. ->Now I want to map this linux server to my AD server. ->Kindly tell me how to map AD(Active Directory) with this linux server. ... (0 Replies)
Discussion started by: manjusharma128
0 Replies

9. Shell Programming and Scripting

How to connect from one server(Current) to another server?

Hi, I have something like this. I have connected to one server ServerA and from this ServerA, i need to do ssh connection to ServerB and then execute my queries. #!/usr/bin/expect spawn ssh Myusername@ServerB expect "password" send "Mypassword\r" interact Output.ksh: spawn: not... (5 Replies)
Discussion started by: Samah
5 Replies

10. Shell Programming and Scripting

Script connect to remote server, not find files and exit only from remote server, but not from scrip

I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code TARFILE=${NAME}.tar TARGZFILE=${NAME}.tar.gz ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies
semanage_node(3)					   Libsemanage API documentation					  semanage_node(3)

NAME
semanage_node - SELinux Network Nodes Management API SYNOPSIS
#include <semanage/node_record.h> #include <semanage/nodes_policy.h> #include <semanage/nodes_local.h> This object contains properties associated with a network node. For details on a specific function, see its manual page. Record API Overview semanage_node_create(3)- create a node semanage_node_free(3)- release resources for this node semanage_node_key_create(3)- create a key, which can be used to identify a node semanage_node_key_free(3)- release resources for this node key semanage_node_key_extract(3)- create a key matching this node semanage_node_clone(3)- create an identical node (deep-copy clone) semanage_node_compare(3)- compare this node to the provided key semanage_node_compare2(3)- compare this node to another Properties API Overview semanage_node_get_addr(3)- return the IP address of this node in string representation semanage_node_set_addr(3)- set the IP address of this node from the provided string representation and protocol semanage_node_get_addr_bytes(3)- return the IP address of this node as a byte array in network byte order semanage_node_set_addr_bytes(3)- set the IP address of this node from the provided byte array in network byte order semanage_node_get_mask(3)- return the IP mask of this node in string representation semanage_node_set_mask(3)- set the IP mask of this node from the provided string representation and protocol version semanage_node_get_mask_bytes(3)- return the IP mask of this node as a byte array in network byte order semanage_node_set_mask_bytes(3)- set the IP mask of this node from the provided byte array in network byte order semanage_node_get_proto(3)- return the IP protocol version for this node semanage_node_get_proto_str(3)- return a string representation of the given node protocol semanage_node_set_proto(3)- set the IP protocol version for this node semanage_node_get_con(3)- return the SELinux context associated with this node semanage_node_set_con(3)- set the SELinux context associated with this node Record Store API Overview semanage_node_modify_local(3)- add or update an interface in the local store semanage_node_del_local(3)- delete an interface from the local store semanage_node_exists(3)- check if an interface is defined in the persistent policy semanage_node_exists_local(3)- check if an interface is defined in the local store semanage_node_query(3)- query an interface in the persistent policy semanage_node_query_local(3)- query an interface in the local store semanage_node_count(3)- count the number of nodes defined in the persistent policy semanage_node_count_local(3)- count the number of nodes defined in the local store semanage_node_iterate(3)- execute a callback for each interface in the persistent policy semanage_node_iterate_local(3)- execute a callback for each interface in the local store semanage_node_list(3)- return an array containing all nodes in the persistent policy semanage_node_list_local(3)- return an array containing all nodes in the local store ivg2@cornell.edu 16 March 2006 semanage_node(3)
All times are GMT -4. The time now is 01:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy