10 More Discussions You Might Find Interesting
1. Solaris
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
3 Replies
2. Shell Programming and Scripting
Hello,
We ve got 2 sites (Site1, Site2), joined thanks vpn.
We had 2 differents files with a list of all host in each sites.
Server1 has list1.ini, and Server2 has list2.ini
everyone from Site1 update list1.ini by ssh or script to Server1
everyone from Site2 update list2.ini by ssh or... (1 Reply)
Discussion started by: cterra
1 Replies
3. AIX
hi all
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
0 Replies
4. UNIX for Dummies Questions & Answers
What are the xid and cid numbers in a host file used for on solaris? If possible can I get a detailed link on the configuration of hosts file explaining xid and cid. :o (1 Reply)
Discussion started by: usm4n
1 Replies
5. AIX
We have a server that need to have 50 or so entries added to the /etc/hosts file. All the entries will be on the same subnet so i wanted to know if i can add the range to the /etc/hosts file and if so how. (4 Replies)
Discussion started by: daveisme
4 Replies
6. Shell Programming and Scripting
Guys hw ya all doing.by the way wrote a script which is below.
f()
{
for host in hostname1 hostname2; do
{
#host=hostname1
user = 'rocky'
pass = 'rocky'
#ftp to particular server
ftp -v $host
quote USER $user
quote PASS $pass
bin
cd /bin/rocky
mkdir rock
cd /bin/rocky/rock/... (4 Replies)
Discussion started by: coolkid
4 Replies
7. Shell Programming and Scripting
Hello,
I have config files for my storage where file systems are exported to lots of hosts as root.
I need to write a script in ksh to somehow filter these hosts from the file and ping those and if pingable than do nothing but if not pingable than send an alert to a log file which says:
... (1 Reply)
Discussion started by: za_7565
1 Replies
8. UNIX for Advanced & Expert Users
Hi,
I need to copy a file ( say 1MB file ) to multiple hosts( no of machines is huge).
What would be the most optimal way of doing it with minimal user intervention ?
Thanks,
Sumit (5 Replies)
Discussion started by: sumsriva
5 Replies
9. UNIX for Dummies Questions & Answers
Hi!
Im trying to use host.allow & host.deny to resrtic access to my sun machine, but it doesnt seem to work... I want to allow full access from certain IPīs (ssh,http,ftp,etc...) but deny all kind of conections from outsideworld, the way that im doing that is:
hosts.allow
ALL:127.0.0.1... (2 Replies)
Discussion started by: Sorrento
2 Replies
10. IP Networking
ok i have a question now when i add machines on network that are running unix do i add them in the /etc/hosts file also include them in dns (4 Replies)
Discussion started by: rmuhammad
4 Replies