LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-06-2012, 10:28 AM   #1
athsa
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
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
 
Old 02-06-2012, 10:52 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,232

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
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?
 
Old 02-06-2012, 11:51 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Quote:
Are you trying to run ftp on port 22?
... and if you are, use sftp (part of ssh module)
 
Old 02-07-2012, 08:00 AM   #4
travisdh1
Member
 
Registered: Sep 2008
Distribution: Fedora
Posts: 129

Rep: Reputation: 22
Quote:
Originally Posted by chrism01 View Post
... 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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing from HTTP or FTP NintendoFan Red Hat 2 12-21-2004 03:07 PM
FTP Installing Help Kujila Linux - Software 2 05-01-2004 07:54 PM
need help -> installing SuSE from FTP Gurke Linux - Software 3 08-04-2003 05:08 AM
installing freebsd over FTP jonfa *BSD 3 05-27-2002 04:28 AM
Installing Suse from ftp Jonas Linux - Distributions 4 02-04-2002 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration