LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sftp and ssh (http://www.linuxquestions.org/questions/linux-networking-3/sftp-and-ssh-484864/)

kehkok 09-19-2006 01:47 AM

sftp and ssh
 
Hi all,

I am able to remote login to my ssh server. However, I can't login my sftp? Is sftp using other port instead of 22?

Thank you.

eduardomsilva 09-19-2006 07:14 AM

Do you have a ftp server on "your server"?...

Some examples are:
- ProFTPd
- VSFTPD

You have to enable this deamons to run in your server to be able to use your "sftp" conncetions.

To run it, as root, "proftpd" or "vsftpd"...

For more configuration details you should visit the config files under "/etc" directory.

I hope it can help you...

Stay fine!

jiml8 09-20-2006 07:52 AM

You have to enable sftp in sshd_config using the Subsystem directive. Here is the line from my sshd_config; you would obviously adjust the path to suit your installation.

Subsystem sftp /usr/local/libexec/sftp-server

~=gr3p=~ 09-20-2006 10:23 AM

Quote:

Originally Posted by eduardomsilva
Do you have a ftp server on "your server"?...

Some examples are:
- ProFTPd
- VSFTPD

You have to enable this deamons to run in your server to be able to use your "sftp" conncetions.

To run it, as root, "proftpd" or "vsftpd"...

For more configuration details you should visit the config files under "/etc" directory.

I hope it can help you...

Stay fine!

my god ! Sftp is part of SSH

basileus 09-20-2006 02:53 PM

On Debian the line in /etc/ssh/sshd_config should look something like this:

Subsystem sftp /usr/lib/sftp-server


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