0

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?

1
  • might not be logged in on the FTP server. did you check that?
    – Thomas Ward
    Jun 5, 2012 at 16:53

1 Answer 1

0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .