11-25-2009
There is something wrong on the one system. You need to have the sysadmin turn on
a lot more logging - i.e., change the syslog.conf and sshd_conf (LogLevel settings) files for that one server.
Intermittent problems like this are painful to resolve sometimes. This is really a sysdmin issue, if things are as you describe. I doubt that you can do much to resolve it.
10 More Discussions You Might Find Interesting
1. IP Networking
Hi,
I am having a problem with our AIX 4.3.3 Server accessing FTP. The error is " Connection Closed By Remote Host".
Scenario:
Since i put a default gateway on the server FTP connection is having a problem but when i remove the default gateway it will works fine..
Is there any way not... (1 Reply)
Discussion started by: mouglybean
1 Replies
2. Cybersecurity
"421 service not available, remote server has closed connection."
I tried to do ftp to one of the unix server .
ftp hostname
password
It get connects when i do any command it throws error
ftp> ls
"421 service not available, remote server has closed connection." (1 Reply)
Discussion started by: vishaldsh
1 Replies
3. Shell Programming and Scripting
hi
i am trying to connect the frontend server using ssh
i got the following error
ssh_exchange_identification: Connection closed by remote host
can anyone help please (1 Reply)
Discussion started by: Satyak
1 Replies
4. Linux
Dear All,
Recently our server has been giving the error:
"ssh_ exchange-identification: Connection closed by remote host"
The error causes the server to become in accessible via ssh and the services are stopped/hung. The server has to be restarted to make it working normal again.
The... (3 Replies)
Discussion started by: vguleria
3 Replies
5. UNIX for Dummies Questions & Answers
Hi Everyone,
Good day.
Scenario:
2 unix servers -- A (SunOS) and B (AIX)
I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time.
Some of these sftp's fail with the following error:
ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies
6. Shell Programming and Scripting
How do I gain control of the "Connection closed by foreign host" message telnet yields when you connect to it in a shell script? I'm using the output:
#!/usr/local/bin/bash
count=$(ping -c 1 $1 | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }')
if ; then
echo "$1 PING "... (2 Replies)
Discussion started by: phpfreak
2 Replies
7. Solaris
OS: Solaris 8 Sparc
server1:userA:/home/userA# ssh userB@server1
Connection closed by < IP address>
Problem: From being a userA, I am unable to connect/ssh to the same server as when trying to use a different account. (userB)
Do you know where can i start checking? Here are some... (3 Replies)
Discussion started by: hrist
3 Replies
8. Red Hat
For a few days now I have been experiencing issues when trying to SSH into 1 of my machine. I get the following output when running 'ssh -vvv':
server1:/home/mymadq> ssh -l root -vvv server2
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config... (3 Replies)
Discussion started by: jaapar
3 Replies
9. Solaris
Version Details
Solaris version : Oracle Solaris 10 8/11 s10x_u10wos_17b X86
$ uname -a
SunOS tippy178 5.10 Generic_147441-01 i86pc i386 i86pcThe Issue
+++++++++
I have two solaris 10 Virtual Machines created using Virtual Box. One of my applications running on Source was trying to connect... (9 Replies)
Discussion started by: kraljic
9 Replies
10. UNIX for Dummies Questions & Answers
Please can you help me understand the significance of providing arguments under sh -s in
> ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Discussion started by: Sree10
4 Replies
ct_ftp(3erl) Erlang Module Definition ct_ftp(3erl)
NAME
ct_ftp - FTP client module (based on the FTP support of the INETS application).
DESCRIPTION
FTP client module (based on the FTP support of the INETS application).
DATA TYPES
connection() = handle() | target_name() (see module ct) :
handle() = handle() (see module ct_gen_conn) :
Handle for a specific ftp connection.
EXPORTS
cd(Connection, Dir) -> ok | {error, Reason}
Types Connection = connection()
Dir = string()
Change directory on remote host.
close(Connection) -> ok | {error, Reason}
Types Connection = connection()
Close the FTP connection.
delete(Connection, File) -> ok | {error, Reason}
Types Connection = connection()
File = string()
Delete a file on remote host
get(KeyOrName, RemoteFile, LocalFile) -> ok | {error, Reason}
Types KeyOrName = Key | Name
Key = atom()
Name = target_name() (see module ct)
RemoteFile = string()
LocalFile = string()
Open a ftp connection and fetch a file from the remote host.
RemoteFile and LocalFile must be absolute paths.
The config file must be as for put/3.
See also: put/3 .
ls(Connection, Dir) -> {ok, Listing} | {error, Reason}
Types Connection = connection()
Dir = string()
Listing = string()
List the directory Dir.
open(KeyOrName) -> {ok, Handle} | {error, Reason}
Types KeyOrName = Key | Name
Key = atom()
Name = target_name() (see module ct)
Handle = handle()
Open an FTP connection to the specified node.
You can open one connection for a particular Name and use the same name as reference for all subsequent operations. If you want the
connection to be associated with Handle instead (in case you need to open multiple connections to a host for example), simply use
Key , the configuration variable name, to specify the target. Note that a connection that has no associated target name can only be
closed with the handle value.
put(KeyOrName, LocalFile, RemoteFile) -> ok | {error, Reason}
Types KeyOrName = Key | Name
Key = atom()
Name = target_name() (see module ct)
LocalFile = string()
RemoteFile = string()
Open a ftp connection and send a file to the remote host.
LocalFile and RemoteFile must be absolute paths.
If the target host is a "special" node, the ftp address must be specified in the config file like this:
{node,[{ftp,IpAddr}]}.
If the target host is something else, e.g. a unix host, the config file must also include the username and password (both strings):
{unix,[{ftp,IpAddr},
{username,Username},
{password,Password}]}.
recv(Connection, RemoteFile) -> ok | {error, Reason}
Fetch a file over FTP.
The file will get the same name on the local host.
See also: recv/3 .
recv(Connection, RemoteFile, LocalFile) -> ok | {error, Reason}
Types Connection = connection()
RemoteFile = string()
LocalFile = string()
Fetch a file over FTP.
The file will be named LocalFile on the local host.
send(Connection, LocalFile) -> ok | {error, Reason}
Send a file over FTP.
The file will get the same name on the remote host.
See also: send/3 .
send(Connection, LocalFile, RemoteFile) -> ok | {error, Reason}
Types Connection = connection()
LocalFile = string()
RemoteFile = string()
Send a file over FTP.
The file will be named RemoteFile on the remote host.
type(Connection, Type) -> ok | {error, Reason}
Types Connection = connection()
Type = ascii | binary
Change file transfer type
AUTHORS
<>
common_test 1.5.3 ct_ftp(3erl)