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.
1
vote
0answers
15 views
Setting up SFTP users that are jailed to their home directories with Chef
I'm hoping someone can help me figure out how to chroot jail users to their home directories for SFTP with Chef. I've tried multiple SSH cookbooks and Googled for an answer for several days with no ...
-2
votes
0answers
13 views
event triggered action on sftp server [closed]
I am using an opensource sftp server that does not support event triggered actions. I want to build a component for handling the rules, based on the file creation event in a folder that will be ...
1
vote
1answer
21 views
Automatically retrieve a specific file via SFTP
How do I determine which file is the newest from a remote server that I am connected to via SFTP?
My goal is to retrieve a specific file each day, via SFTP. The steps I will follow are:
Connect to ...
0
votes
0answers
26 views
Secure file transfer in Linux without SSH? [duplicate]
First thing I want to apologize if this question is silly or something... I just tried to research but it seems to be a bit hard to find exactly what I want in Google ! [or I'm not smart enough to ...
1
vote
7answers
163 views
Secure file transfer in linux without SSH?
First thing i want to apologize if this question is silly or something...i just tried to research but it seems to be a bit hard to find exactly what i want in Google ! [or i'm not smart enough to find ...
-1
votes
1answer
51 views
FTP ip reached by using SFTP command but not FTP [closed]
I've been given by a company their FTP IP where I should connect to. I got also username and password. That is supposed to work with port 21, right?
I tried to use FTP command-line but it didn't ...
-1
votes
0answers
26 views
how to fix sftp after changing file permissions accedently [closed]
i made some changes in file permission on my ubuntu server by accident, i changed permissions of www directory 700 and then 777(i don't know whether it caused the problem).when i trying to use winscp ...
1
vote
2answers
45 views
Ubuntu server closing connection after successful login
I am unable to logon to my Ubuntu (12.04 LTS) server via WinSCP or sftp. There was previously a permission problem for ssh_host_* files in /etc/ssh. This was after I tried chmod -R from another ...
3
votes
4answers
155 views
Disallow -p on sftp
We have a server that acts as a "dropbox" for (outside) users to upload data to us over sftp/ssh. We need to process these files (gpg decrypt, unzip, etc) as they come in. In the past, we simply ...
2
votes
2answers
141 views
How to setup a public rsync and sftp server
I want to setup a public storage server which allows sftp and rsync (through ssh). I've got it working with a chroot jail and rssh. When the user connects to the server with sftp he can read all the ...
1
vote
1answer
33 views
How to not run /etc/profile.d/custom.sh during Secure FTP login
When I attempt to Secure FTP (using WinSCP) to my CentOS 6.4 box I'm prompted with a message that states:
Received too large (168438314 B) SFTP packet. Max supported packet size is 1024000 B.
This ...
-1
votes
2answers
51 views
SSH stopped working for no reason
Please help. Everything was working fine. How can I connect to the command line now?
Configuration
Amazon EC2 server
Ubuntu & Apache2
Only one user (root - not real name) has SSH access, ...
0
votes
1answer
52 views
Copying files over chained SSH connection
I am using a remote server and want to copy files from the server.
When using the server, I need to log in with 2 steps.
ssh username@A
after loging into server A, I need to log in again.
ssh ...
-1
votes
2answers
38 views
remote acccess to machine using sftp in Javascript [closed]
I am trying to use sftp command to get list of files in remote machine in Java Script and need to save it in a file. I am using lighttpd as websever. I tried below script in sample file
sample.html:
...
0
votes
1answer
42 views
Set FTP User default directory to /var/www Ubuntu Server
Trying to figure out the best way to set the default directory for the few FTP users we have (3 in-house developers who need access simply to the WWW directory). Want to just set it so that if any of ...
0
votes
0answers
33 views
SFTP OpenSSH 5.3 chroot-jail with write access to home directory
I've followed the myriad of tutorials/instructions to setup a CHROOT'ed/Jailed SFTP account, and it works great.
However, I need the user accounts to be able to have full write access to their home ...
0
votes
2answers
113 views
How to enable SFTP uploads to Windows Server 2008R2
We need to transfer thousands of small htm files up to a web server running IIS7.5 on Windows Server 2008R2. The files are grouped in folders, each folder containing from 200 to 500 files. Remote ...
0
votes
2answers
59 views
chroot SFTP to another users subdirectory
I've successfully set up SFTP to chroot a user to their home directory.
However, I have a case that I haven't been able to find any examples on, and the odd permissions needed for chroot make me ...
0
votes
1answer
39 views
Enabling DSA key authentification for SFTP while still keeping password login as optional (Ubuntu 12.04)
I have a server running Ubuntu 12.04 Server. I want to be able to use SFTP on the command line with a DSA key, so I don't have to type the password into the terminal. Is this possible to do on the ...
1
vote
1answer
141 views
I can SSH but can't SFTP
I am dumfounded at this issue. Brand new Ubuntu 12.04 Server install, I can SSH in, but can't use SFTP (Using Filezilla). It seems to authenticate fine .. But then it errors:
The error is:
Error: ...
0
votes
1answer
97 views
Unable to SFTP (but can SSH) - Using port other than 22
I followed the iptables here:
http://wiki.debian.org/iptables
I replaced the standard Port 22 in sshd_config with Port 1234
Currently I'm able to SSH via Port 1234, but unable to SFTP using ...
1
vote
1answer
57 views
SFTP user can't edit or create files
Server: Ubuntu 12.04 LTS
I am using openSSH and have created an SFTP user called bob who belongs to group sftponly. I have chrooted bob to his home directory which is /usr/share/nginx/www/bob/.
bob ...
0
votes
0answers
33 views
FTP listfiles not working
I get the error 421 error connection timed out.
I am already in passive mode, but still it's not able to execute certain FTP commands like LIST , NLST. What could be the cause?
I tried using both ...
0
votes
1answer
37 views
SFTP source port used by client
What port is used by a client when connecting to SFTP server listening on port 22?
In which range can be that port? Does that range depend on client application used, or it depends on operating ...
1
vote
2answers
137 views
SSH/SFTP Reverse Proxy
I have two machines accessible on the Internet with no NAT involved. Both machines run an SSH service.
I want to connect via SSH/SFTP to Server A on Port 2000 and this connection should be routed to ...
0
votes
1answer
58 views
Allowing root login on sftp while disallowing it over ssh?
For security I only allow a dummy user to log in via SSH on my CentOS 5.8 server, for this I added:
AllowUsers dummyaccount
When accessing my server I then login with the dummy and use su - to gain ...
0
votes
0answers
32 views
I can't access a file server via FTP or SFTP. I've forwarded to the appropriate ports.
I've done this hundreds of times before. I have multiple Ubuntu servers running misc tasks at any given time that connect via SFTP daily.
For some reason my new FreeNAS system will not connect ...
0
votes
1answer
59 views
IIS 7 FTP Publishing: Windows User Gets 530 18 Error
Here's the problem, from the log (ip & dns names sanitized):
FTP Service Log
2013-03-26 01:25:07 ORIGIN.IP - DESTINATION.IP 21 ControlChannelOpened - - 0 0 4ba4c190-09ca-45e3-a2ae-b19117d33b80 -
...
1
vote
1answer
101 views
Removing chroot jail on Synology Diskstation 4.1
I'm administrating a Synology Diskstation 412 with DSM 4.1 and I need to be able to upload files to the filesystem via SFTP. However, when I enable the built-in SFTP server in the DSM, it always jails ...
0
votes
2answers
39 views
My sftp jailed user can't see directories below the ChrootDirectory
I am trying to jail user. I have got these directories:
var/www (root:www-data, 755)
var/www/web1 (webmaster:www-data, 755)
var/www/web2 (webmaster:www-data, 755)
In my ...
0
votes
0answers
62 views
Setting permissions to manage webserver files with Sftp
my server admin skills are a bit rusty (lots of years of inactivity), so I need your help. I saw and tried lots of tuts, but I can't achieve my goal.
I have setup an Ubuntu Server to host some ...
0
votes
1answer
86 views
(SFTP)how to have /var/www writable permission when set ChrootDirectory /var/www
ChrootDirectory is tricky > <
As I google for it and found the ChrootDirectory setting explanation
(http://en.wikibooks.org/wiki/OpenSSH/Cookbook/SFTP)
It say " Depending on the opensshd version ...
0
votes
1answer
41 views
Ubuntu sftp disobeys ssh config files or bypasses ssh config settings
I set up openssh on my server to listen to xx port and to use authorized_keys. From a Windows client, I am able to login to my server using my passphrase using putty. All Ok. This is what I wanted.
...
1
vote
3answers
154 views
Use .bashrc without breaking sftp
My problem is that I need to set a few variables, and output a few lines every time I login to the ssh shell, and at the same time I have to be able to use sftp to tarnsfer files via Filezilla.
Now, ...
2
votes
2answers
223 views
SSH/SFTP connections fails silently on OSX 10.8.2 - ssh-agent issue
I'm trying to login to a remote machine with SSH or SFTP.
when I try ssh u-indgo@ssh1.eu1.frbit.com the CLI just won't respond. I get an empty new line, in which I can type characters, but nothing ...
0
votes
0answers
16 views
Trying to connect via sftp from remote server to amazon ec2 using key pair failed
I'm trying to connect via SFTP from a remote server to amazon ec2 instance using a key, but it is getting connection closed. The weird part is i can connect using ssh normally.
And i can't see the ...
2
votes
2answers
150 views
sftp file size limit
There seem to be a file size limit for sftp transfer from the command line, if I try to download a 20 MB file it stops at 20% when the transfered data is larger than 4 MB:
/myfile.xml ...
0
votes
1answer
60 views
How i can restrict certain file extension upload via ssh?
How can I restrict certain file extensions and file upload size via SSH?
I am using Ubuntu 12.10 default installation and Open-ssh server.
0
votes
0answers
73 views
Setting up ssh on Debian to allow some users log in with ldap
I have a server in which users can't login via ssh but can upload files by sftp. This server has an ldap database of users and ssh and sftp are configured with the ldap, so none of the ldap users ...
0
votes
1answer
32 views
Resctrict folders for sftp when using ssh version < 4.0
We have a very old server (it's kind of embarrassing to write the OS version), but this is the situation, and upgrade OS or ssh is not an option for some reasons.
uname -a > FreeBSD xxx 4.11-STABLE ...
3
votes
1answer
125 views
Is it possible to force SFTP rather than allow SCP fallback ?
I have a Red Hat 5.4 server with openssh OpenSSH_4.3p2 and have been trying to setup scp/sftp logs in my server, but I am running into some problems.
I followed the directions in this other post. ...
0
votes
3answers
253 views
ESXi 4.1.0 build-260247 best way to get VM off
I'm having a hard time copying a VM from my ESXi 4 ... I never tried to copy a VM because I always did the backup inside the VM but now I want to retire this server and need to get a final full ...
1
vote
1answer
171 views
Trying to set up SFTP only in a chroot jail for one user
Hopefully you guys can help and see if I've done something weird here, I'm trying to log in with a user I set up, FileZilla shows me:
Command: open "///@///" Command: Pass: ********
Status: ...
0
votes
1answer
110 views
Connecting to passive FTP over SSL (ftps)
I have setup an FTP service in Windows Azure using this guide http://www.itq.nl/blogs/post/Walkthrough-Hosting-FTP-on-IIS-75-in-Windows-Azure-VM.aspx
The FTP Server works well when I connect without ...
-2
votes
1answer
77 views
Linux: How to send all files in the directory to remote directory via sftp
Just like the title sugests I have a local dir, say:
/home/whoever/files_to_send
And I want to send all files in that dir to a remote location:
my_user@my.server.com:/some/remote/directory
How ...
0
votes
1answer
25 views
FTP Backup Site minus one directory
I am backing up a site including a huge cache folder use SFTP (FileZilla).I do not really need to backup the wp-cache directory, but do not want to get rid off it either atm.
Is there a way to use ...
2
votes
2answers
205 views
SFTP - Allow user to upload to www only
Ubuntu Server 12.04
I need to allow the user offlineuser to upload files to the var/www/mysite/web/ directory only. This directory acts as a site root as well as an upload location (legacy setup).
...
0
votes
1answer
52 views
SFTP creates file but can't complete transfer
I'm trying to upload files to a VPS over SFTP. Unfortunately, I'm having a strange problem.
While uploading a file over SFTP as root, the transfer appears to randomly stops somewhere in the first ...
0
votes
1answer
100 views
Linux SFTP access to /var/www
I'm running Ubuntu 12.04.1 LAMP server and I'm trying to get a user read write FTP access to /var/www.
First I've installed vsftpd and set write_enable=YES and chroot_local_user=YES in vsftpd.conf ...
-1
votes
1answer
58 views
Using SFTP client to TAR files instead of terminal [closed]
Whenever I SSH into terminal, I always seem to screw something up. It would be a lot simpler if I was able to zip/tar files using an FTP application - does this exist?