10 More Discussions You Might Find Interesting
Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh.
Actions to perform within a single ssh session via shell script
- copy a file
- untar at destination (remote host)
OS : Linux RHEL6 (3 Replies)
Discussion started by: sankasu
2. Shell Programming and Scripting
I have a file contaning some 100 servers names one by one the file called redhat_servers.txt
I want to prepare a script where it should give me the host name and kernal version.
I wrote like this,
while read line
ssh $line "uname -nr"
done <... (3 Replies)
Discussion started by: kumar85shiv
3. Shell Programming and Scripting
I have about 500 hosts where I need to ssh by sending the password on the command line or in a text file in a clear text . However I am not able to download "sshpass" or other tools .
Any other ways to pass the password in a script ? (3 Replies)
Discussion started by: gubbu
Hello. In some script, I saw:
if && ; then
echo “$filename can not be processed”
# Show the file if possible
ls -ld $filename 2>/dev/null
What does the first line means? In $filename I still got /etc/hosts. (2 Replies)
Discussion started by: lozicd3
just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box.
it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames.
the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
6. Shell Programming and Scripting
i have a demon 'c' program that have a dynamic table of logic registers ( 2000 variables ).
exemple of registers:
I want from shell acess to this table of registers.
How can i do this?
with something like for read I1.34.5:
#cat... (3 Replies)
Discussion started by: rzyz
7. Shell Programming and Scripting
This is an open question.
Which way/framework/sfw do you use to communicate/signals scripts running stand alone (on the same and different machines).
For example sometimes I use witness files to "trigger" that other script star/stop work and another one do a task of a job.
Of course;... (0 Replies)
Discussion started by: rbadillarx
8. OS X (Apple)
If I open two bash shells and telnet from Shell 2 to a remote server (on the Net), is there a way to direct input from Shell 1 to the telnet shell?
The telnet shell is a limited environment with a specific command set.
I want to direct commands from Shell 1 and, if possible, put 1-second... (2 Replies)
Discussion started by: xinUoG
9. Shell Programming and Scripting
By a shell script When I am logging into hosts one by one with ssh.
I am getting below message.
Pseudo-terminal will not be allocated because stdin is not a terminal.
stty: : Invalid argument
stty: : Invalid argument
Can you please suggest what should I do to stop this?
... (10 Replies)
Discussion started by: KuldeepSinghTCS
10. OS X (Apple)
I spoke with Keyspan and they assured me the USB to Serial device was working if I could use the Screen tool.
I asked why I was unable to redirect stdin/stdout to and from the /dev/tty. device and was told there was no reason I shouldn't be able to do so.
I have tried:
... (1 Reply)
Discussion started by: cpfogarty