06-27-2014
Host disallowed, maybe? Look in /etc/hosts.allow and /etc/hosts.deny on the target machine.
10 More Discussions You Might Find Interesting
1. IP Networking
:confused: HI,
We have 2 servers ( win 2003 + sun 5.8 ) and we run a rsh from the NT to the UNIX.
The program runs a shell script on the UNIX and waits for the answer in the EOF.
How ever, after period of appx 2 min there is a reply "Recv failed:Connection reset by peer".
while the... (5 Replies)
Discussion started by: eyalush
5 Replies
2. Shell Programming and Scripting
I use ssh to work on the server (OS X 10.4.x) remotely from home (Debian / OS X 10.5.3). If I leave my machine idle, I get disconnected after a couple of minutes. I get the following error message:
Read from remote host "server name": Connection reset by peer
Connection to "server name" closed.... (2 Replies)
Discussion started by: osxhawk
2 Replies
3. Shell Programming and Scripting
hi
i am connecting to a remote server using sftp protocol.
i am using the command like "sftp USER01@122.10.12.45"
then i got the error "Couldn't read packet: Connection reset by peer"
please help its very urgent (5 Replies)
Discussion started by: Satyak
5 Replies
4. IP Networking
hi all.
am running postgresql in a vm on debian server.
i have some client programs connecting to the db.
when i check the logs of postgresql i see "connection reset by peer"
can someone help me with this issue...
thanks. (1 Reply)
Discussion started by: coolatt
1 Replies
5. UNIX for Advanced & Expert Users
Hello
I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS).
What's happening is... (1 Reply)
Discussion started by: subramanyab
1 Replies
6. UNIX for Dummies Questions & Answers
I get this error when I log in through console:
"fatal: Read from socket failed: Connection reset by peer".
Can you tell me what this is and why it happens, and how to stop it? Thank you. (1 Reply)
Discussion started by: iamnew2solaris
1 Replies
7. UNIX for Dummies Questions & Answers
I have created a script to cat the contents of a log file and pipe it to head and tail so I can get specific lines.
When I do this I sometimes randomly get the error
"cat: write error: Connection reset by peer". It is completely sporatic and sometimes it doesnt happen and sometimes it does... (4 Replies)
Discussion started by: atelford
4 Replies
8. UNIX for Advanced & Expert Users
Hello,
I have recently updated my AIX machine from version 6.1.7.5 to 6.1.9.1 and i noticed that the errpt of the server is full of ssh messages like the one below:
sshdprocess_id>]: fatal: Read from socket failed: Connection reset by peer
Does anyone knows if this a known bug of the ssh... (15 Replies)
Discussion started by: omonoiatis9
15 Replies
9. Red Hat
Hi Guys,
I can't SSH to a remote system - connection reset by peer..any ideas ?
-The Source is Linux, the Remote is Windows
-The remote has OpenSSH running on Port 22 - Telnet confirms port is open
-User1 has a RSA2 Key (2048) key, which is capture in the 1010101-pub.key specified by the... (1 Reply)
Discussion started by: stevie_velvet
1 Replies
10. Shell Programming and Scripting
Hi All, I am having an issue with my script which I am using to get files from a remote server.
In my script I am going to server:- REMOTESERVER and directory:- /Interface/Upload, and then getting files from there to my local server directory:- /ftp/jail_nextview_LMS/home/nextview_LMS/outbox.
... (1 Reply)
Discussion started by: Hero6438
1 Replies
hosts(4) hosts(4)
NAME
hosts - host name database
SYNOPSIS
/etc/inet/hosts
/etc/hosts
The hosts file is a local database that associates the names of hosts with their Internet Protocol (IP) addresses. The hosts file can be
used in conjunction with, or instead of, other hosts databases, including the Domain Name System (DNS), the NIS hosts map, the NIS+ hosts
table, or information from an LDAP server. Programs use library interfaces to access information in the hosts file.
The hosts file has one entry for each IP address of each host. If a host has more than one IP address, it will have one entry for each, on
consecutive lines. The format of each line is:
IP-address official-host-name nicknames...
Items are separated by any number of SPACE and/or TAB characters. The first item on a line is the host's IP address. The second entry is
the host's official name. Subsequent entries on the same line are alternative names for the same machine, or "nicknames." Nicknames are
optional.
For a host with more than one IP address, consecutive entries for these addresses may contain the same or differing nicknames. Different
nicknames are useful for assigning distinct names to different addresses.
A call to gethostbyname(3NSL) returns a hostent structure containing the union of all addresses and nicknames from each line containing a
matching official name or nickname.
A `#' indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines that search the file.
Network addresses are written in the conventional "decimal dot" notation and interpreted using the inet_addr routine from the Internet
address manipulation library, inet(3SOCKET).
This interface supports host names as defined in Internet RFC 952 which states:
A "name" (Net, Host, Gateway, or Domain name) is a text string up to 24 characters drawn from the alphabet (A-Z), digits (0-9),
minus sign (-), and period (.). Note that periods are only allowed when they serve to delimit components of "domain style names".
(See RFC 921, "Domain Name System Implementation Schedule," for background). No blank or space characters are permitted as part of a
name. No distinction is made between uppercase and lowercase. The first character must be an alpha character [or a digit. (RFC 1123
relaxed RFC 952's limitation of the first character to only alpha characters.)] The last character must not be a minus sign or
period.
Host names must not consist of numbers only. A host name must contain at least one alphabetical or special character.
Although the interface accepts host names longer than 24 characters for the host portion (exclusive of the domain component), choosing
names for hosts that adhere to the 24 character restriction will insure maximum interoperability on the Internet.
A host which serves as a GATEWAY should have "-GATEWAY" or "-GW" as part of its name. Hosts which do not serve as Internet gateways should
not use "-GATEWAY" and "-GW" as part of their names. A host which is a TAC should have "-TAC" as the last part of its host name, if it is a
DoD host. Single character names or nicknames are not allowed.
Example 1: Example of a typical line from the hosts file.
Here is a typical line from the hosts file:
192.9.1.20 gaia # John Smith
gethostbyname(3NSL), inet(3SOCKET), nsswitch.conf(4), resolv.conf(4)
/etc/inet/hosts is the official SVR4 name of the hosts file. The symbolic link /etc/hosts exists for BSD compatibility.
30 Sep 2005 hosts(4)