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)
Hi,
i am trying to connect to unix server from windows bat file using telnet command. But bat file is unable to pass username and password hence could not login to UNIX.
My requirement is to connect UNIX server from .bat file and run few macros at a perticular schedule. My UNIX login does... (1 Reply)
Hi all,
Iam looking out for a shell script which pulls archive from Server A to Server B.
And at the same time, we dont want the archives which are already pulled in Server B to be removed from Server A.
Please help me on this, I have been trying on this for a quiet few time.
... (3 Replies)
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)
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)
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)
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)
Requirement:
Under fuse application we have placeholders called containers;
Every container has their logs under:
<container1>/data/log/fuse.log
<container1>/data/log/fuse.log.1
<container1>/data/log/fuse.log.XX
<container2>/data/log/fuse.log... (6 Replies)
Discussion started by: Arjun Goswami
6 Replies
LEARN ABOUT DEBIAN
bb-services
BB-SERVICES(5) File Formats Manual BB-SERVICES(5)NAME
bb-services - Configuration of TCP network services
SYNOPSIS
$BBHOME/etc/bb-services
DESCRIPTION
bb-services contains definitions of how bbtest-net(1) should test a TCP-based network service (i.e. all common network services except HTTP
and DNS). For each service, a simple dialogue can be defined to check that the service is functioning normally, and optional flags deter-
mine if the service has e.g. a banner or requires SSL- or telnet-style handshaking to be tested.
FILE FORMAT
bb-services is a text file. A simple service definition for the SMTP service would be this:
[smtp]
send "mail
quit
"
expect "220"
options banner
This defines a service called "smtp". When the connection is first established, bbtest-net will send the string "mail
quit
" to the
service. It will then expect a response beginning with "220". Any data returned by the service (a so-called "banner") will be recorded and
included in the status message.
The full set of commands available for the bb-services file are:
[NAME] Define the name of the TCP service, which will also be the column-name in the resulting display on the test status. If multiple
tests share a common definition (e.g. ssh, ssh1 and ssh2 are tested identically), you may list these in a single "[ssh|ssh1|ssh2]"
definition, separating each service-name with a pipe-sign.
send STRING
expect STRING
Defines the strings to send to the service after a connection is established, and the response that is expected. Either of these may
be omitted, in which case bbtest-net(1) will simply not send any data, or match a response against anything.
The send- and expect-strings use standard escaping for non-printable characters. "
" represents a carriage-return (ASCII 13), "
"
represents a line-feed (ASCII 10), " " represents a TAB (ASCII 8). Binary data is input as "xNN" with NN being the hexadecimal
value of the byte.
port NUMBER
Define the default TCP port-number for this service. If no portnumber is defined, bbtest-net(1) will attempt to lookup the portnum-
ber in the standard /etc/services file.
options option1[,option2][,option3]
Defines test options. The possible options are
banner - include received data in the status message
ssl - service uses SSL so perform an SSL handshake
telnet - service is telnet, so exchange telnet options
FILES
$BBHOME/etc/bb-services
SEE ALSO bbtest-net(1)Xymon Version 4.2.3: 4 Feb 2009 BB-SERVICES(5)