Acesso FTP

1. Acesso FTP

William Maldonado
wmaldonado

(usa Debian)

Enviado em 11/05/2016 - 20:53h

Boa noite pessoal,

Estou com um Cloud Server na Locaweb e estou tentando configura-lo para fazer acesso FTP.
O MySQL e PHPMyAdmin consegui sem problemas acesso via IP, mas ainda não consegui o FTP toda vez que conecto aparece a seguinte mensagem:

tatus: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Command: USER anonymous
Response: 331 Password required for anonymous
Command: PASS **************
Response: 530 Login incorrect.
Error: Critical error: Could not connect to server


Já tentei trocar a senha, esperar 30 minutos, criar novo usuários, esperar 1h e nada funciona, já usei todos os usuários e senha e só da erro no login.
Alguém sabe o que pode estar acontecendo?

Obrigado,
William


  


2. Re: Acesso FTP

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 11/05/2016 - 21:05h

Esta dizendo que vc esta logando com usuário anonimo:


Command: USER anonymous


Acredito que esteja ai o erro.....
#-------------------------------------------------------------------------------------#

"Linux é algo que me fez ter Gosto pela Informática, se tornou um Vicio" - Carlos A. P. Cunha

Para Consultorias particulares acesse: www.cunhatec.com.br


3. Re: Acesso FTP

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 11/05/2016 - 21:17h

Quem configurou o servidor FTP??
Posta a config.


4. Re: Acesso FTP

William Maldonado
wmaldonado

(usa Debian)

Enviado em 11/05/2016 - 21:28h

@Preto_Cunha
Agradeço sua resposta, mas esqueci de postar que utilizei o "anonymous" no último login, mas todos os usuários apresentam o mesmo erro e a mesma sequencia apresentada de erros e infos.

@JJSantos
Eu mesmo configurei, mas sou iniciante no assunto.
Segui um tutorial daqui do Viva o Linux indicado pela locaweb e também verifiquei as permissões do Firewall e se a porta 21 estava em "LISTENING".


# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes, reload proftpd after modifications, if
# it runs in daemon mode. It is not required in inetd/xinetd mode.
#

# Includes DSO modules
Include /etc/proftpd/modules.conf

# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 on
# If set on you can experience a longer connection delay in many cases.
IdentLookups off

ServerName "Debian"
ServerType standalone
DeferWelcome on

MultilineRFC2228 on
DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"

DenyFilter \*.*/

# Use this to jail all users in their homes
DefaultRoot /var/ftp

# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
# RequireValidShell off

# Port 21 is the standard FTP port.
Port 21

# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
# PassivePorts 49152 65534

# If your host was NATted, this option is useful in order to
# allow passive tranfers to work. You have to use your public
# address and opening the passive ports used on your firewall as well.
# MasqueradeAddress 1.2.3.4

# This is useful for masquerading address with dynamic IPs:
# refresh any configured MasqueradeAddress directives every 8 hours
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>





5. Re: Acesso FTP

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 11/05/2016 - 22:15h

Testa:


# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes, reload proftpd after modifications, if
# it runs in daemon mode. It is not required in inetd/xinetd mode.
#

# Includes DSO modules
Include /etc/proftpd/modules.conf

# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 on
# If set on you can experience a longer connection delay in many cases.
IdentLookups off

ServerName "Debian"
ServerType standalone
DeferWelcome on

MultilineRFC2228 on
DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"

DenyFilter \*.*/

# Use this to jail all users in their homes
DefaultRoot /var/ftp

#Diretório padrão
DefaultRoot /var/www

# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
RequireValidShell off

# Port 21 is the standard FTP port.
Port 21

# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
# PassivePorts 49152 65534

# If your host was NATted, this option is useful in order to
# allow passive tranfers to work. You have to use your public
# address and opening the passive ports used on your firewall as well.
# MasqueradeAddress 1.2.3.4

# This is useful for masquerading address with dynamic IPs:
# refresh any configured MasqueradeAddress directives every 8 hours
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>

#It does not block users based on the file / etc / ftpusers
UseFtpUsers off

#Does not allow the login root
RootLogin off

#Block FTP User
<Limit LOGIN>
DenyUser !ftp
</Limit>

#Block anonymous user
<Limit LOGIN>
DenyUser ftp
</Limit>



6. Re: Acesso FTP

William Maldonado
wmaldonado

(usa Debian)

Enviado em 12/05/2016 - 08:43h

@JJSantos
Tentei com essas configurações e o erro persiste, fala que o usuário e senha estão incorretos, tentei com mais de um usuário e todos dizem que estão incorretos


7. Re: Acesso FTP

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 12/05/2016 - 23:05h

wmaldonado escreveu:

@JJSantos
Tentei com essas configurações e o erro persiste, fala que o usuário e senha estão incorretos, tentei com mais de um usuário e todos dizem que estão incorretos


Vou fazer um teste aqui.
E retorno com os resultados.



  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts