Error when connecting to remote FTP site

Posted on 2007-12-04
Last Modified: 2013-12-16
When I try to connect to a remote FTP server, I get the following below:

[root@oratest1 ~]# ftp
ftp> open
Connected to IPADDRESS.
220 X2 WS_FTP Server 5.0.4 (2840694631)
504 unknown security mechanism
504 unknown security mechanism
KERBEROS_V4 rejected as an authentication type
Name (IPADDRESS:root): ftp_user
331 Password required
230 user logged in
Remote system type is UNIX.
ftp> ls

421 Service not available, remote server has closed connection
Passive mode refused.  Turning off passive mode.
No control connection for command: Transport endpoint is not connected

How can I avoid this?

Question by:pkowal74
LVL 13

Accepted Solution

WizRd-Linux earned 500 total points
ID: 20408120

By running typing passive first this will return, passive mode off and allow an active connection.

Expert Comment

by:Jeff Perry
ID: 20408124
FTP FTPIPADDRESS user user-name [password]

Open in new window


Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
centos commands 6 68
how to print sub line with  sed /awk /perl in bash file 11 48
Intel fortran compiler (ifort) 5 38
Moving from Mcrypt to OpenSSL 18 45
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question