SFTP works fine from terminal, but unable to browse to sftp URL

0

1

I'm setting up a SFTP server by following the guideline here and it seems working fine, I can login to my SFTP user root directory by using sftp command:

    kongycmac:~ kongyc$ sftp kong@192.168.3.120
    kong@192.168.3.120's password: 
    Connected to 192.168.3.120.
    sftp> 

and I'm able to download all the files in the SFTP folder.

Unfortunately, when I tried to open my SFTP site in my browser, it seems like not working.

In my browser address bar I key in:

    sftp://192.168.3.120

and Chrome will redirect me to Google and search for the URL. I'm trying to setup a SFTP URL and whenever someone browse to the SFTP link, user can login with the password and download the files.

Is there any steps that I've missed out from the configuration?

Kyc Kyc

Posted 2017-09-29T03:45:34.853

Reputation: 3

Are you using FTPS, or SFTP? (I see you have tags for both ssh and ftp.)

– jpaugh – 2017-09-29T03:59:21.590

@jpaugh Hi I'm using SFTP – Kyc Kyc – 2017-09-29T04:07:16.603

1I would not expect Chrome to support the SSH protocol at all. However, you can use fuse to mount SFTP shares as network drives. If you're using Gnome, the Nautilus file manager has a menu option: File -> Connect to Server. It works with many network transfer protocols, including SFTP. – jpaugh – 2017-09-29T04:10:28.727

have you tried googling "chrome sftp plugin" ? – Archemar – 2017-09-29T06:05:55.387

Answers

0

Chrome does not support SFTP protocol.

Neither any other major web browser do.

What some browsers (like Firefox) can do, is to open the address in an external SFTP client, if the client registered to handle that protocol. For example WinSCP SFTP client does register to handle the SFTP protocol (I'm the author of WinSCP).

Martin Prikryl

Posted 2017-09-29T03:45:34.853

Reputation: 13 764