LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Installing FTP (https://www.linuxquestions.org/questions/linux-general-1/installing-ftp-927907/)

athsa 02-06-2012 10:28 AM

Installing FTP
 
Hello,

we are getting following error while using ftp from ssh :

Status: Connecting to ***.***.***.**:21...
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.0.5)
Command: USER root
Response: 331 Please specify the password.
Command: PASS **********
Error: Connection timed out
Error: Could not connect to server
Status: Waiting to retry...

Thank you

sam

camorri 02-06-2012 10:52 AM

FTP runs on port 20 and 21. SSH runs on port 22.

I'm not sure what you are trying to accomplish. You can copy securely with ssh, using scp. ( secure copy ).

FTP is not secured.

Are you trying to run ftp on port 22?

chrism01 02-06-2012 11:51 PM

Quote:

Are you trying to run ftp on port 22?
... and if you are, use sftp (part of ssh module)

travisdh1 02-07-2012 08:00 AM

Quote:

Originally Posted by chrism01 (Post 4595656)
... and if you are, use sftp (part of ssh module)

Also use a different user than root, you can switch to root after you log in if you absolutely must. SSH and it's other protocols will not let you log in as root as a general rule.


All times are GMT -5. The time now is 10:05 PM.