Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am a little confused. I am trying to FTP using port 22. It says that I am connected, then that I am not connected. Here is my output:

dan@voldemort:~$ ftp $hname 22
Connected to <hostname>.

SSH-2.0-OpenSSH_5.1
ftp> ls
Not connected.

What's going on?

share|improve this question
    
might not be logged in on the FTP server. did you check that? –  Thomas W. Jun 5 '12 at 16:53
add comment

1 Answer

up vote 0 down vote accepted

You are getting a response from the SSH server, which listens on port 22. FTP servers usually listen on port 21.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.