Just adding my 2 cents here.
Try this first (don't add the other commands!):
Does it even connect to the server? Do you get a confirmation? Are you sure that the remote server is actually listening on port 22? (The default for ssh)
If you can connect to the server, try one of those commands at a time.
This step-by-step approach should give you a hint about where the script is stuck during its automated login to the server and execution of those commands.
Let us know the results.
--NOTE: I read again one of your first posts where you say that you can run the connection command. I haven't paid attention to that fact before. Anyway, please post here the results. (Screen caps with blur over username and server would also be helpful)
hi,
i have script that connects to a unix server. however, i want to add condition that if it cannot connects in 10 attemps, it will send email to me.
while -a ${COUNT} -lt 10]
./connect to server.
if status <> 0 then
email to me.
fi
Thanks a lot. (0 Replies)
i want to connect to a remote server through ssh.
i have to also provide password within that script.
after connecting to the remote server i want to do some operations like grep,cd etc
can u pls help me to wite a script.
Thanks (1 Reply)
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)
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
I am able to connect a RHEL server from my Windows machine using Putty (via ssh). My question is what is the advantage of using Xming instead of Putty? Is it that Xming would enable a graphical connect from the Windows machine to RHEL server?
I hope my question is clear that what is the... (9 Replies)
Hi,
We are running Linux server and are required to connect to Windows server and fetch the files from windows server.
How can i connect to Windows server from Linux? I have to do this with a automated shell script on Linux
I appreciate your response. (4 Replies)
Hi All,
I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers.
So i am looking for a script to transfer the file automatically from Linux server to Windows server?
Please advise.
Thanks... (3 Replies)
I am trying to connect to remote server in hp-ux, using sftp command (using sftp username@ip and password ) able to connect to remote server but, in this case sftp prompt for password and user need to manually enter it.
I want sftp can read a password define in script or from file, so it can... (1 Reply)
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 am a newbie and has been given a task to connect to a windows server from a linux server (using putty of course; for file transfer) that too passwordless.
Searching through google I found "ssh-keygen" but this also couldn't work because as I tried ssh <username>@<windowsServerIP>, it says... (5 Replies)
Discussion started by: pratria
5 Replies
LEARN ABOUT DEBIAN
bubbros-server
bubbros-server(6) Games Manual bubbros-server(6)NAME
bubbros-server - the bub-n-bros server.
SYNOPSIS
bubbros-server [ level-file.bin ] [options]
DESCRIPTION
bubbros-server starts an http server that acts as a control panel for the server. The server listens on port 8000 by default. The url for
the control panel is http://server:port/0xN where 0xN is a random hex number (acts as minimal protection). This url is printed when the
server starts. You can start and view games and kill the server from this panel. The control panel also allows you to type in the address
of a server to connect to, the script will then open a client to that server. The http server also servers java applet clients for those
players who wish to use one.
When a game is started the script opens a port for the game server. This port can then be connected to by a client. Clients autodetect
servers running on the local network with UDP ping on port 8056.
Connection forming
The client forms a tcp connection to the server. Or, when using the metaserver, the server forms a connection to the client. If this fails,
the client and server try a simultaneous SYN connect. This sometimes works if the server and client are behind firewalls. The server then
tries to transmit the data over udp. If it gets no response from the client it will fall back to the existing tcp connection.
OPTIONS -b N, --begin N, --start N
Start at board (level) number N. The default is 1. See also the -s option.
-h, --help
Display help.
-i, --infinite
Restart the server at the end of the game. Normally the server quits after a certain period of inactivity. This is useful when used
with the -m option to make a public server that is available for a long time.
-l N, --lives N
Limit number of lives to N. If this option is not specified the number of lives will be infinite.
-m, --metaserver
Register server with the Metaserver (currently) at codespeak.net:8050. This makes your server visible to everybody, and also facil-
itates joining through a fascistic firewall.
--port TYPE=N Sets default listening ports. If type is LISTEN , sets the game server port to N. The game server port is chosen randomly by
default. If the type is HTTP , sets the http server port to N. The http server port defaults to 8000. Another port will be chosen
if none was specified and 8000 is already in use. The server also listens to UDP ping on port 8056.
-s N, --step N
Increase board number with N when a board is completed. Defaults to 1. see also the -b option.
OUTPUT
The server outputs helpful debug information concerning the http and game servers.
SEE ALSO bubbros(6)bubbros-client(6)
December 7, 2007 bubbros-server(6)