Documente Academic
Documente Profesional
Documente Cultură
Login Register
POST REPLY
14 posts Page 1 of 1
morris123
I set up my raspberry pi to work as a network storage server on my home network. I used Samba for this and i can now access the external
HDD of my Pi using both windows computers and android devices. This is very good (and took me about 2 days of frustration). Now i am
also trying to make it so that i can access the same external HDD using FTP or SFTP or FTPS, doesn't matter which to me. So far i have
been able to connect with Filezilla on windows pc to the External Pi drive using the public IP of my home address and using the forwarded
port 22. However, when i try to connect the same way with my android phone using ES le explorer's option of SFTP connecting, it responds
with "sftp server not found". I have tried installing and conguring other FTP deamons such as VSFTPD and Pure-ftp but have not managed
to get any of these to work even though going trough many many online guides and different conguration settings. I am currently totally
out of ideas and googling results in sites i have visited and tried before so if any of you could help me with a suggestions it would be much
appreciated.
Thanks Alot,
Cheers,
Morris
T
pcmanbob
So you have samba installed which allows you to share les with windows pc's, but samba is not a ftp server if you wish to ftp in to your Pi
from what ever device, you need to be running an FTP server on your Pi.
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help
T
DougieLawson
https://www.raspberrypi.org/forums/viewtopic.php?t=157733&p=1026877 1/4
29/7/2017 Remote access SFTP - Raspberry Pi Forums
Please post ALL technical questions on the forum. Do not send private messages.
T
asandford
DougieLawson wrote:
Install WinSCP or Filezilla and you can use those for SFTP. Same credentials as you use for your PuTTY sessions.
The OP is trying to connect with Android, they've got the windows bit working.
So far i have been able to connect with Filezilla on windows pc to the External Pi drive using the public IP of my home address and using the
forwarded port 22.
However, when i try to connect the same way with my android phone using ES le explorer's option of SFTP connecting, it responds with "sftp
server not found". I have tried installing and conguring other FTP deamons such as VSFTPD and Pure-ftp but have not managed to get any of
these to work even though going trough many many online guides and different conguration settings.
RTFQ
T
morris123
pcmanbob wrote:
Hi.
So you have samba installed which allows you to share les with windows pc's, but samba is not a ftp server if you wish to ftp in to your Pi from
what ever device, you need to be running an FTP server on your Pi.
Yes i use samba for local network access, and yes i know samba is not an FTP server, but rasbian has an SFTP built in using the SSH
connection trough port 22. Like i said in my post, i can use this to access the drive trough lezilla, it just doesnt work on all devices.
DougieLawson wrote:
Install WinSCP or Filezilla and you can use those for SFTP. Same credentials as you use for your PuTTY sessions.
Yes like i said in my post, i have been doing exactly this to access the External drive from a copmputer, however, since i want remote over the
internet access instead of using the local IP of the Pi i have been using the public IP of my network and have portforwarded port 22 so i can
use lezilla over the internet. But that is not the problem i am having.
asandford wrote:
DougieLawson wrote:
Install WinSCP or Filezilla and you can use those for SFTP. Same credentials as you use for your PuTTY sessions.
The OP is trying to connect with Android, they've got the windows bit working.
So far i have been able to connect with Filezilla on windows pc to the External Pi drive using the public IP of my home address and using the
forwarded port 22.
However, when i try to connect the same way with my android phone using ES le explorer's option of SFTP connecting, it responds with
"sftp server not found". I have tried installing and conguring other FTP deamons such as VSFTPD and Pure-ftp but have not managed to get
any of these to work even though going trough many many online guides and different conguration settings.
RTFQ
Indeed.
T
pcmanbob
https://www.raspberrypi.org/forums/viewtopic.php?t=157733&p=1026877 2/4
29/7/2017 Remote access SFTP - Raspberry Pi Forums
If you just want the equivalent of winSCP on android have a look at this
BLOG DOWNLOADS COMMUNITY HELP FORUMS RESOURCES
http://android.stackexchange.com/questi ... equivalent
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help
T
morris123
pcmanbob wrote:
If you just want the equivalent of winSCP on android have a look at this
pcmanbob
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help
T
DougieLawson
Please post ALL technical questions on the forum. Do not send private messages.
T
morris123
pcmanbob wrote:
OK, so if it works on your friends SFTP server then it would suggest that you need a server running to connect from android, which is what I
suggested originally.
I do have an SFTP server running, the raspbian default SSH FTP server, which i can connect to over the internet with computers using lezilla
or winscp. I can even use USB tethering of my Android phone to give internet to a laptop and then use that to connected remotely over the
internet to my Pi server. The problem is very specically limited to connecting over the internet using an android device connecting to my Pi. I
can connect to it with an android device using the local network and samba, just not remote using sftp.
https://www.raspberrypi.org/forums/viewtopic.php?t=157733&p=1026877 3/4
29/7/2017 Remote access SFTP - Raspberry Pi Forums
T
BLOG DOWNLOADS COMMUNITY HELP FORUMS RESOURCES
morris123
DougieLawson wrote:
Try this Android app https://play.google.com/store/apps/deta ... ndroid.pop it does all sorts of FTP protocols.
Hi, THanks, but like i said in 3 posts so far, i AM using that app. I also tried others to no effect.
T
pcmanbob
so its a protocol that works over SSH it does not mention a server and there is no mention of connecting to it via android so may be android
will not connect to the protocol and requires a proper ftp server to be running for it to connect
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help
T
morris123
pcmanbob wrote:
if you have a read of this, it say's "The SSH File Transfer Protocol is a network protocol that provides le access, le transfer, and le
management functionalities over SSH."
https://www.raspberrypi.org/documentati ... sh/sftp.md
so its a protocol that works over SSH it does not mention a server and there is no mention of connecting to it via android so may be android will
not connect to the protocol and requires a proper ftp server to be running for it to connect
Thanks for the suggestion, and yes this could have been possible, but i can connect to my friends Pi, who is also only using SSH and not
running any proper FTP's. But like i also stated in the rst post, i actually did try FTP deamons like VSFTPD and Pure-FTPD, i did not manage
to get either of these to work in any conguration though.
T
morris123
put this:
and it works!
https://www.raspberrypi.org/forums/viewtopic.php?t=157733&p=1026877 4/4