Sponsored Content
Top Forums Shell Programming and Scripting Can we connect another server Post 302849125 by Nsharma3006 on Saturday 31st of August 2013 12:53:37 AM
Old 08-31-2013
Can we connect another server

Assume I am on hostname 111
and want to connect hostname 222 in order to check some file being connected with 111

can this be possible, being on one hostname can we see file of another host and on both host I have access.

This is the requirment I need to implement in a script that I am writing a script which will be on one host or server i.e 111 but its requirement is it check the same file on the another server i.e 222.

Please help.
I need to impelement it in my script.

Thanking you in advance.
 

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
wnnaccess(1M)						  System Administration Commands					     wnnaccess(1M)

NAME
wnnaccess - Access control over Wnn6 Kana-Kanji conversion server/dictionary lookup server SYNOPSIS
/usr/sbin/wnnaccess [-D jserver_name] [-ds wnnds_name] [-L LANG_name] [ -| + [hostname | username] ] DESCRIPTION
wnnaccess adds or deletes hosts and users, obtains the current access control information, enables or disables access control for access permission retained by the Wnn6 Kana-Kanji conversion server/dictionary lookup server. OPTIONS
The following options are available. -D jserver_name Specifies the Wnn6 Kana-Kanji conversion server (jserver) to work on. If this option is omitted, wnnaccess refers to the serverdefs file and determines the Kana-Kanji conversion server to work on. The Kana-Kanji conversion server must be specified in the following format. hostname Kana-Kanji conversion server that uses the well-known port number(22273) on host hostname hostname:no Kana-Kanji conversion server that uses port number of " the well-known port number plus no" on host host- name hostname/port_noKana-Kanji conversion server that uses port_no as port number on host hostname -ds wnnds_name Specifies the Wnn6 dictionary lookup server (wnnds) to work on. The dictionary lookup server must be specified in the following format. hostname Dictionary lookup server that uses the well-known port number(26208) on host hostname hostname:no Dictionary lookup server that uses port number of "the well-known port number plus no" on host hostname hostname/port_noDictionary lookup server that uses port_no as port number on host hostname -L LANG_name Specifies the language. The language is used to refer to the serverdefs file and determine the server to connect. Specify ja for the Solaris releases (Japanese version). If no options are specified, wnnaccess writes the current access control information. The first line shows the current status of access control enabled or disabled. The second and following lines show hosts and users that are given access rights as in any of the following formats: host-name All users can access from this host. host-name: No users can access from this host. host-name:user-name,user-name,..Only users shown in the list can access from this host. @user-name This user can access from any host. Specifying - option only enables access control. Specifying + option only disables access control. If access control is disabled, no restriction is imposed on connection to the server. If + option and hostname| username are specified, the host or user will be added to the access control. If - option and hostname| username are specified, the host or user will be deleted from the access control. The format of hostname| username is the same as in displaying the current access control information. If neither - nor + option is specified, the behavior will be the same as in specifying + option. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |Availability |SUNWjwnsu | +-----------------------------+-----------------------------+ SEE ALSO
jserver(1M), wnnds(1M), wnnhosts(4), wnn_serverdefs(4) SunOS 5.10 10 Jan 2003 wnnaccess(1M)
All times are GMT -4. The time now is 05:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy