Setting up a local SFTP or SCP server

RedViking

Nord of the South
Joined
Feb 23, 2012
Messages
29,874
I have an FTP FileZilla Server running on my home server Windows 10.

It is relatively straight forward once you get the router to stop blocking the ports. Everything can be done with FileZilla Server and the Router > NAT Forwarding/Virtual Servers.


Is there something that is as user friendly to setup and SFTP or SCP server. Maybe I don't understand how it works. I really struggle to understand how to set it up after .

I have WinSCP installed on my Server.
1597398991357.png

I created a certificate with PuTTY:
1597399023225.png

I've got Optional Features installed:
1597399051191.png

And I have OpenSSH SSH Server Services Running:
1597399110609.png

Firewall:
1597399678267.png


Now I open WinSCP:

1597399480845.png

Select Login:
1597399499238.png

It doesn't want to accept my Windows Password.


Now I have no idea what to do further. I am well aware I have no idea what I am doing.
 
Last edited:

ponder

Honorary Master
Joined
Jan 22, 2005
Messages
83,854
I know this doesn't help but this is piss easy to setup on linux compared to windows. What do you use the server for?

I've used filezilla server quite a few times on windows, the other day I needed it to do something quickly but simply could not get it working no matter what I tried. That reminds me I should probably reinstall win10 & reset my router after all the holes I opened up trying to make it work...
 

RedViking

Nord of the South
Joined
Feb 23, 2012
Messages
29,874
could not get it working no matter what I tried.
Initially I struggle and started a thread on here. Ended up being just a pain due to Windows Firewall and being behind a router. Also not having a Static IP is really a pain.

FileZilla Server Settings:
1597413144449.png1597413167179.png
1597413223207.png
1597413245183.png
1597413265723.png
1597413293810.png
1597413323569.png

And then obviously just allow the ports in the Firewall.

And then also Router side, I don't think you need all these ports, but anyways:
1597413519736.png
 

RedViking

Nord of the South
Joined
Feb 23, 2012
Messages
29,874
What do you use the server for
Just use it as a server to store and backup files. So all my work and media on there. Helps to be able to access it remotely or backup to it remotely. Also run backups through it. Some files are really big and I see no point uploading it all to the cloud.
 

ponder

Honorary Master
Joined
Jan 22, 2005
Messages
83,854
Just use it as a server to store and backup files. So all my work and media on there. Helps to be able to access it remotely or backup to it remotely. Also run backups through it. Some files are really big and I see no point uploading it all to the cloud.
I would use Linux for that purpose, just find it easier.
 

Muffin

Active Member
Joined
Jun 8, 2006
Messages
31
SCP and SFTP runs over SSH, which by default uses port 22. Just believe me when I say that using SSH as transport is a lot simpler than trying to use native FTP, which uses multiple ports (21 for control and 20/random ports for data depending on whether you use PORT/PASV mode) and is a huge mess when it comes to firewalls. FTPS (not to be confused with SFTP) is an even bigger problem. So first make the decision on whether you're going to use SSH as transport or FTP. I have lots of experience on doing this on Linux, but the basics should be the same.
 

agentrfr

Expert Member
Joined
Jul 8, 2008
Messages
4,821
My home setup is OpenVPN (on a weird port) on a Pi4 ---> FTP/Samba

If you can make the VPN tunnel on the client side, all encryption and TCP redundency is handled within the VPN connection itself. Also pretty much any other app/program doesnt care at that point that the latency is higher - it just sees a local network connection
 

RedViking

Nord of the South
Joined
Feb 23, 2012
Messages
29,874
Someone introduced me to Nextcloud. I think I am going to try it. Looks great.

 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
37,934
I have an FTP FileZilla Server running on my home server Windows 10.

It is relatively straight forward once you get the router to stop blocking the ports. Everything can be done with FileZilla Server and the Router > NAT Forwarding/Virtual Servers.


Is there something that is as user friendly to setup and SFTP or SCP server. Maybe I don't understand how it works. I really struggle to understand how to set it up after .

I have WinSCP installed on my Server.
View attachment 892784

I created a certificate with PuTTY:
View attachment 892786

I've got Optional Features installed:
View attachment 892788

And I have OpenSSH SSH Server Services Running:
View attachment 892790

Firewall:
View attachment 892800


Now I open WinSCP:

View attachment 892796

Select Login:
View attachment 892798

It doesn't want to accept my Windows Password.


Now I have no idea what to do further. I am well aware I have no idea what I am doing.
Surely your username isn’t “Home-Server”?

If username is wrong obviously authentication will fail. Which would make you think it’s the password.

But SSH based services on a Windows box just seems bizarre to me.

What is the use case? Why not just do Samba if you are on Windows?
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
37,934
Initially I struggle and started a thread on here. Ended up being just a pain due to Windows Firewall and being behind a router. Also not having a Static IP is really a pain.

FileZilla Server Settings:
View attachment 892964View attachment 892966
View attachment 892970
View attachment 892972
View attachment 892974
View attachment 892976
View attachment 892980

And then obviously just allow the ports in the Firewall.

And then also Router side, I don't think you need all these ports, but anyways:
View attachment 892982
You said local sever? So where does the router come into it?

You only need that if it’s going to be accessed from the internet.

And then you need DynDNS and all that jazz.
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
37,934
Just use it as a server to store and backup files. So all my work and media on there. Helps to be able to access it remotely or backup to it remotely. Also run backups through it. Some files are really big and I see no point uploading it all to the cloud.
Get Crashplan.

Problem solved and none of this drama required.

NextCloud is an option but not as automatic or elegant.
 
Top