The SSH File Transfer Protocol, (sometimes called Secure File Transfer Protocol, Secure FTP), or SFTP, is a network protocol that provides file access, file transfer, and file management functionality over any reliable data stream.
Questions tagged [sftp]
971 questions
183
votes
6 answers
130
votes
4 answers
OpenSSH: Difference between internal-sftp and sftp-server
Why are there two ways to setup SFTP with OpenSSH and when to use which? Is there any difference between them?
I mean the first one is using a lib from OpenSSH and the second one says "use the internal", so it is also OpenSSH?
Subsystem sftp…
Denny Crane
- 1,483
- 2
- 11
- 9
110
votes
8 answers
Allow SFTP but disallow SSH?
I'm starting a very little hosting company for a few friends and little clients, nothing big.
I want to give my "clients" the right to manage their files on the server. I hate FTP as it is not secure and it's in my opinion obsolete.
So I'd like to…
Tommy B.
- 1,403
- 2
- 14
- 14
105
votes
3 answers
SFTP logging: is there a way?
I'm wondering if there is a way to log commands received by the server. It can be all SSH commands, as long as it includes information on commands related to file transfer.
I'm having issues with an SFTP client and the creator is asking for logs,…
Darryl Hein
- 1,662
- 2
- 19
- 21
75
votes
8 answers
Is it possible to use rsync over sftp (without an ssh shell)?
Rsync over ssh, works great every time.
However, trying to rsync to a host which allows only sftp logins, but not ssh logins, provides the following error:
rsync -av /source ssh user@remotehost:/target/
protocol version mismatch -- is your
shell…
Tom Feiner
- 16,758
- 8
- 29
- 24
49
votes
3 answers
How to use openssh sftp command with a RSA/DSA key specified from the command line
The Openssh ssh and scp command provied an -i command line option to specify the path to the RSA/DSA key to be used for authentication.
Looking at the sftp man pages I was not able to find a way to specify the RSA/DSA key.
I am looking for a way to…
Adi Roiban
- 793
- 3
- 7
- 12
36
votes
2 answers
Is IIS SFTP natively supported by Windows?
Does Windows Server 2012 R2 have native SFTP support?
I see a role FTP Server but it doesn't say whether this includes SFTP.
James20
- 361
- 1
- 3
- 3
31
votes
9 answers
How can I map a SFTP to a Drive, natively in Windows
Today I saw that Vista and Win7 (which I am using) have the option to map ftp natively, according to this article:
http://cybernetnews.com/cybernotes-map-a-ftp-to-a-drive-in-windows/
But I need to have sftp... does windows has the same function for…
Igor B.
- 375
- 1
- 4
- 7
29
votes
7 answers
Speed up SFTP uploads on high latency network?
I'm trying to transfer a set of large files internationally using SFTP, but I am finding my international partner can't get upload speeds above ~50k despite very good connections on either side. We can get multiple connections uploading at this…
nick_eu
- 391
- 1
- 3
- 5
29
votes
7 answers
How can you do a one liner with sftp to login with the password on the same line?
Is there an option to put the password on the line as well with sftp?
linux~ $ sftp USERNAME@FTP.WEBSITE.COM:/DIRECTORY_TO_GO_TO/
Like this
linux~ $ sftp USERNAME@FTP.WEBSITE.COM:/DIRECTORY_TO_GO_TO/ -p PASSWORD?
Daniel
- 3,741
- 7
- 32
- 33
28
votes
1 answer
SFTP: file symlinks in a jailed (chrooted) directory
I'm trying to set up sftp so that a few trusted people can access/edit/create some files. I have jailed a user into their home directory (/home/name) but have run into a problem. I want for them to also be able to access other parts of the VPS…
dukevin
- 1,610
- 3
- 18
- 25
28
votes
7 answers
Is there a GUI alternative to Putty SSH for transferring files?
Or any GUI SSH for Amazon ec2 Linux instance servers?
I need to transfer files between two Linux virtual servers and currently I have PuTTY (which Amazon recommends). However I am new to the server/virtual world and have no experience with commands.…
javasocute
- 443
- 1
- 4
- 6
27
votes
4 answers
Enable SSH shell access but disable SFTP access
I've searched for a viable answer to this question, and most of the answers include advice on why to not do it. However, here's the scenario, and what makes it necessary:
I have a console app, and in each user's .profile, there is a startup command…
sosaisapunk
- 391
- 1
- 3
- 5
26
votes
4 answers
What is the difference between SFTP port 22 or port 990?
I know that explicit "negotiated" FTPS is preferred, because it still uses the standard port 21 with that method but in regards to "implicit" non-negotiated FTPS using a standard port of 990 vs. port 22 (which I have seen some people describe), why…
djangofan
- 4,172
- 10
- 45
- 59
25
votes
6 answers
How to put desired umask with SFTP?
I have a SFTP server (openssh/sftp-server) and I would like to set umask 002 for users using this service. I tried setting PAM (pam.d/common-session), and .profile for each user, but no luck.
With SSH login everything is fine, but when I try with…
mat_jack1
- 399
- 1
- 3
- 8