2

I've installed Ubuntu Server 14.04, and when I try to connect it with browser sftpd://10.0.0.100 it lets me see my files after I type my username and password.

It's weird, because I haven't installed any FTP server on my computer.

So, the question is: how to remove that FTP server that is running on my computer for some reason?

muru
  • 197,895
  • 55
  • 485
  • 740

1 Answers1

3

SFTP is not FTP

It stands for SSH File Transter Protocol

Server users often remotely connect to the server using Secure Shell (SSH), also known as OpenSSH. Open SSH is part of the default Ubuntu server installation. SFTP is an extension of the Secure Shell protocol (SSH) version 2.0 to provide secure file transfer capabilities.

You can remove the openSSH server from your Ubuntu server, but then you will lose the ability to log into your server remotely using SSH protocol. If you are sure that you will never remotely connect to the server, and want to do this use the command:

sudo apt-get remove openssh-server

Alternately you may disable SSHD to auto-start when your server starts up. See How do I disable SSHD from starting automatically?. Thanks to David Foerster for the link.

You may also want to learn about How to harden an SSH server? so that it is not easy for a hacker to gain access to your server remotely.

Hope this helps

user68186
  • 33,360