I am not sure if this applies to fast connect, but system wide DNS like this - add
to /etc/resolv.conf. works for me
another way would be to put entries in/etc/hosts ? it would only work of course for single hosts you specify but is handy for names the domain controller cannot resolve.
EDIT: if /etc/resolv.conf does not exist, create it
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)
Hi
I need to connect to a ServerB from Server A
eg: Server A : 172.20.273.51, un: xxx, pwd: xxx
Server B: 172.20.273.51, un:yyy, pwd: yyy
Need to copy the files(with name starts with IME*) from /grid/pc/IME*
to /grid/pc/archive
What will be the command or script to... (3 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)
I need to connect to a ftp server-1 from linux server-2 and copy/get a file from server-1 which follows a name pattern of FILENAME* (located on the root directory) and copy on a directory on server-2. Later, I have to use this file for ETL loading... For this I tried using as below
/usr/bin/ftp... (8 Replies)
Hi ,
I am using redhat linux 5.I.I need a command or script which need to login from one server to another without asking password.This can be done even providing password on the command line is also fine.I have tries sshpass but it didn't work.ssh key generations is not preferred here.
... (7 Replies)
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 have something like this.
I have connected to one server ServerA and from this ServerA, i need to do ssh connection to ServerB and then execute my queries.
#!/usr/bin/expect
spawn ssh Myusername@ServerB
expect "password"
send "Mypassword\r"
interact
Output.ksh: spawn: not... (5 Replies)
Discussion started by: Samah
5 Replies
LEARN ABOUT REDHAT
host.conf
HOST.CONF(5) Linux System Administration HOST.CONF(5)NAME
host.conf - resolver configuration file
DESCRIPTION
The file /etc/host.conf contains configuration information specific to the resolver library. It should contain one configuration keyword
per line, followed by appropriate configuration information. The keywords recognized are order, trim, multi, nospoof, and reorder. These
keywords are described below.
order This keyword specifies how host lookups are to be performed. It should be followed by one or more lookup methods, separated by com-
mas. Valid methods are bind, hosts, and nis.
trim This keyword may be listed more than once. Each time it should be followed by a single domain name, with the leading dot. When
set, the resolv+ library will automatically trim the given domain name from the end of any hostname resolved via DNS. This is
intended for use with local hosts and domains. (Related note: trim will not affect host- names gathered via NIS or the hosts file.
Care should be taken to ensure that the first hostname for each entry in the hosts file is fully qualified or non-qualified, as
appropriate for the local installation.)
multi Valid values are on and off. If set to on, the resolv+ library will return all valid addresses for a host that appears in the
/etc/hosts file, instead of only the first. This is off by default, as it may cause a substantial performance loss at sites with
large hosts files.
nospoof
Valid values are on and off. If set to on, the resolv+ library will attempt to prevent hostname spoofing to enhance the security of
rlogin and rsh. It works as follows: after performing a host address lookup, resolv+ will perform a hostname lookup for that
address. If the two hostnames do not match, the query will fail.
spoofalert
If this option is set to on and the nospoof option is also set, resolv+ will log a warning of the error via the syslog facility.
The default value is off.
reorder
Valid values are on and off. If set to on, resolv+ will attempt to reorder host addresses so that local addresses (i.e., on the
same subnet) are listed first when a gethostbyname(3) is performed. Reordering is done for all lookup methods. The default value
is off.
FILES
/etc/host.conf
Resolver configuration file
/etc/resolv.conf
Resolver configuration file
/etc/hosts
Local hosts database
SEE ALSO gethostbyname(3), hostname(7), resolv+(8), named(8)Debian GNU/Linux 1997-01-02 HOST.CONF(5)