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)
Hello,
I am connecting on a machine equiped with Unix, via SSH Secure Shell.
On this machine I am running a script and I would like this script to be able to connect to another (Unix) machine to run a different process.
In other words: when I am connected on a machine, how can I execute a... (1 Reply)
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)
I have a task requiring that USER_A run a script, which connects to HOST_B as USER_B and does not ask for a password.
If I am logged in on HOST_A as USER_B, I can connect to HOST_B without a password, no problem. However, if I try running ssh with the command line "ssh USER_B@HOST_B" while... (3 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)
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)
Have -
-3 HP Proliant G4P servers - Debian (wheezy)
-3 RaspPI's - Raspian
-Unmanaged switch that all 6 can ssh into each other with via eth0
-Router (w wifi and 5 ports) - on eth1 of the three G4p's of protocol dhcp
Want:
To let the six servers, in my basement run, since the HPs are... (5 Replies)
Hi
i am new to unix shell scripting i have the below requirement
connect to server B and then connect to mysql in the server B and query for a particular record and capture that value
but when i perform this i am facing an error
can u guys help me on this:confused::confused:
... (2 Replies)