Do you have an proper DNS infrastructure in place? If not, that's your problem. With each connection, the SSH daemon will try and do an reverse lookup of your IP, and check if it matches the sent hostname. A reverse lookup without an appropriate record consumes time. Change/Add the directive
, and the issue should disappear.
Hi,
I am using a remote storage service for backing up our data - we want to have a script run as part of a cron job which would do the backups from our local Linux machine to the service's Linux machine.
I want to use tar and ssh to do this (rather than mounting the disk and using cp) .... (5 Replies)
Hi
i have aix 5.3 operating system, and i am trying to do ssh without passwd, when i tried to create a rsakey, it produces empty file as an output, how can solve that problem? why it is giving empty output file, i tried with different user, situation same,.i have restarted sshd server. .ssh... (2 Replies)
hi
I have a script to login from a host "A" to a list of hosts in a file and perform some commands inside it...its somethin like this
for i in `cat file`
do
ssh -t $i " command1 ; command2; ..."
done
I wanna save the outputs in a file in the current host "A" i.e from where I am... (3 Replies)
Hi im trying to write a script to logon to list of servers with same userID. I have no option/plan to implement ssh-keygen sharing between the systems, so i have written script creating 2 files,
file1 holds list of hosts
host1
host2
host3
file2 has following script
for i in `cat file1`... (1 Reply)
Hi Experts ,
we have a CDC file where we need to get the latest record of the Key columns
Key Columns will be CDC_FLAG and SRC_PMTN_I
and fetch the latest record from the CDC_PRCS_TS
Can we do it with a single awk command.
Please help.... (3 Replies)
Hey guys, I'm trying to make a bash script to do password generation.
The script takes 2 arguments, number of characters and number of passes to generate, but I can't get the loop to work properly.
#!/bin/bash
echo
echo
echo -ne "Password length:"
read pwd_length
echo
echo -ne "Number of... (6 Replies)
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)
Hi guys - I am having a hard time trying to figure how to search for a certain string on config files hosted on multiple hosts.
This is an example:
Hostnames: myhost1.mycompany.com|myhost2.mycompany.com|myhost3.mycompany.com
String to search for: myipaddress.somehost.com
Directory... (9 Replies)
Hello,
I am trying to login to multiple servers and i have to run multiple loops to gather some details..Could you please help me out.
I am specifically facing issues while running for loops.
I have to run multiple for loops in else condition. but the below code is giving errors in for... (2 Replies)
Dear Folks,
I am trying to read a config file contains ip and port numbers.
i want to read each line of the config file and check ssh connection is happening or not.
Kindly guide.
Config file:
abc@1.2.342 22
abc@1.2.343 22
abc@1.2.344 22
abc@1.2.345 22... (9 Replies)
Discussion started by: sadique.manzar
9 Replies
LEARN ABOUT CENTOS
ipa-replica-prepare
ipa-replica-prepare(1) IPA Manual Pages ipa-replica-prepare(1)NAME
ipa-replica-prepare - Create an IPA replica file
SYNOPSIS
ipa-replica-prepare [OPTION]... hostname
DESCRIPTION
Generates a replica file that may be used with ipa-replica-install to create a replica of an IPA server.
A replica can only be created on an IPA server installed with ipa-server-install (the first server).
You must provide the fully-qualified hostname of the machine you want to install the replica on and a host-specific replica_file will be
created. It is host-specific because SSL server certificates are generated as part of the process and they are specific to a particular
hostname.
If IPA manages the DNS for your domain, you should either use the --ip-address option or add the forward and reverse records manually using
IPA plugins.
Once the file has been created it will be named replica-hostname. This file can then be moved across the network to the target machine and
a new IPA replica setup by running ipa-replica-install replica-hostname.
A replica should only be installed on the same or higher version of IPA on the remote system.
OPTIONS --dirsrv_pkcs12=FILE
PKCS#12 file containing the Directory Server SSL Certificate and Private Key
--http_pkcs12=FILE
PKCS#12 file containing the Apache Server SSL Certificate and Private Key
--dirsrv_pin=DIRSRV_PIN
The password of the Directory Server PKCS#12 file
--http_pin=HTTP_PIN
The password of the Apache Server PKCS#12 file
-p DM_PASSWORD, --password=DM_PASSWORD
Directory Manager (existing master) password
--ip-address=IP_ADDRESS
IP address of the replica server. If you provide this option, the A and PTR records will be added to the DNS.
--reverse-zone=REVERSE_ZONE
The reverse DNS zone to use
--no-reverse
Do not create reverse DNS zone
--ca=CA_FILE
Location of CA PKCS#12 file, default /root/cacert.p12
--debug
Prints info log messages to the output
EXIT STATUS
0 if the command was successful
1 if an error occurred
IPA Mar 14 2008 ipa-replica-prepare(1)