1
vote
3answers
27 views

Chroot sftp jail seems to be insistent on not working

So I followed this guide to the letter: http://markshust.com/2013/04/01/how-setup-chrootd-sftp-account-linux and a few other guides as well, but I seem to be incapable of getting a connection. I am ...
2
votes
0answers
21 views

Mounting shared directory for chroot users

I ran in to an interesting issue with mounting that doesn't make any sense to me. Basically I have setup a chroot environment for SFTP users, they each have a chroot directory with a format of ...
0
votes
1answer
45 views

Unable to authenticate vsFTPd virtual user wih SSH/SFTP Ubuntu 12.04

I'm somewhat new to linux so forgive me if the answer is an obvious one. I've been trying for days now without success. I'm setting up a simple SFTP service with vsFTPd. I've had no issues setting up ...
0
votes
0answers
62 views

Able to access the server with SSH, but not with SFTP

I have access to the server via SSH (using Putty Client), but I am not able to connect via SFTP, using same port (using FileZilla, or other clients). Server requires public key authorization, and ...
1
vote
1answer
63 views

sshfs is failing with “remote host has disconnected”

I'm running sshfs with the following: sshfs basicuser@192.168.1.111:/var/www/myapp /home/basicuser/code -o sftp_server="/usr/bin/sudo /usr/libexec/openssh/sftp-server" I have also created RSA keys ...
1
vote
1answer
41 views

why does screen cause problems with sftp?

I love to use screen, but I haven't really had much experience using it over ssh. At work I recently was issued a shell account and I decided to try to configure it so that screen gets run when I ...
0
votes
0answers
45 views

What's a reliable command-line Linux app for SFTP uploading?

I have to upload a large number of files via SFTP. I need a command-line app to do this on Linux CentOS 6. Yes, I've searched on Google and haven't found any that are reliable. I tried to use scp ...
0
votes
1answer
37 views

Why was I able to connect with SSH2 to an SFTP server with gFTP?

I'm learning Linux and on Windows when I used Filezilla I would connect using the sftp protocol. I noticed gFTP didn't have the option so I tried SSH2 and set the port to 22 and it worked. Why did ...
0
votes
0answers
32 views

Where to place private key for Magento (PHP)?

I created a Magento extension that uploads file via SFTP to one server using a password authentication. There's another server I need to upload some files to, but using an asymmetric key (RSA) ...
0
votes
1answer
118 views

crontab a bash script that is copying certain files

First I would like to say that I am terrible with scripting so this has been a true challenge for me. Any input would be great! I would like to automate an sftp transfer every 24h. If I am lucky in ...
1
vote
0answers
33 views

Uploading files remotely just deletes the contents

I'm new to Linux, and for school I'm using a remote SSH shell via SSH Secure Shell Client 3.2.9 and SSH Secure File Transfer Client from Windows 7 to try to upload files. We were going over the ...
0
votes
1answer
191 views

Proper procedure - sftp access to www folder - To be able to upload files

My www folder is root:root. What should it be? My site works perfectly but maybe I am doing something wrong. My nginx.conf says user is 'nginx'. Should I be changing the www onwership and group to ...
0
votes
1answer
267 views

Ubuntu 12.10 folder permissions (lost access to any folders after setting up sftp)

I have had an ubuntu 12.10 server running for a while with dlna and samba running successfully. On a previous build, I had an sftp server running and I wanted to do it again. First, I updated all ...
0
votes
1answer
20 views

How Do I provide client support in sshd

I have Target board where sshd is a daemon which will set the sftp-server and listen to client trying to connect to board using sftp protocol.But there when I try to connect to other machine from ...
0
votes
2answers
224 views

SFTP - Recursively fetch new files

I have a remove file system structure like this: + /measure + / 2013-09 + / 2013-09-04 + / fooinstrument + result03343445845.csv + ...
1
vote
3answers
140 views

Is there a site to download Linux ISOs over SFTP?

My work allows the downloading of ISO images for work related projects. However the proxy we use has issues when downloading from FTP sites. I should also mention that downloading large files over ...
2
votes
2answers
184 views

Why is SSH/SFTP failing for commands with larger returns?

We have a SFTP server which was working fine until we added another ISP. The connection to the SFTP server is not going through the new ISP, I confirmed it with tracert. No change was made on the ...
0
votes
0answers
45 views

Chroot SFTP and tunneling

I am attempting to give chroot sftp access to a group, as well as giving limited tunneling capability. I can give one or the other, but haven't figured out how to do both at the same time. The ...
0
votes
0answers
93 views

chroot sftp home directory as well as access one level above

CentOS 6, latest openSSH, using latest scponly as shell (also have rssh, but that doesn't want to work either) All chroot'ing functionality done via sshd_conf Everything works as expected except one ...
0
votes
1answer
1k views

sftp to ec2 instance using FileZilla/Putty

I can only login to my ec2 instance via Putty/FileZilla if I use the username ubuntu. This is fine for putty as i can then su but in filezilla I am not able to add any files as I am not able to su. ...
0
votes
2answers
30 views

Changing AuthorizedKeysFile to anything other than default does not work

I am trying to perform paswordless key based authentication. In ssh_config on the server to which I am trying to upload the files, when AuthorizedKeysFile .ssh/authorized_keys I am able to sftp ...
1
vote
2answers
251 views

Script for transferring files over the internet via a Cron task

I want to add a bit to a backup script that will transfer a file to another server, over the internet. My cron currently does a pg_dump of a database into a file on the local machine, I want to then ...
5
votes
5answers
638 views

Best way to transfer files across unstable LAN?

This is very similar to Question 326211, but in this case, the LAN is an unstable Wi-Fi connection. I need to transfer about 11 GiB of files between two computers, both running Linux (although one ...
0
votes
0answers
360 views

chroot SFTP user can't modify any files in mounted drive

Well, here are the steps I’ve done; the problem is listed at the bottom. sudo mkdir /home/test sudo useradd test sudo chown root:test /home/test sudo chmod 755 /home/test sudo groupadd testgroup sudo ...
1
vote
2answers
756 views

slow sftp, starts fast, stalls after 10 sec

On a 32 bit Ubuntu machine (12.04), I have a speed problem transfering files (~100MB) with sftp (command-line), from my machine to a server, on a ethernet 100Mb/s network. The transfer starts at ...
0
votes
1answer
38 views

Issues while setting up passwordless sftp

I was trying to set up a passwordless sftp from one Red Hat Linux server to another. As "oracle" user, I created the key-pair on server1, copied the publickey over to server2, and then added them to ...
2
votes
2answers
113 views

sftp://domainnaame.tld shows whole filesystem

I have a home web server using SSH on a custom port. I've found that if I go to sftp://domainname.tld:port my whole filesystem is visible, and anybody can download any file. I'd like to chroot this to ...
1
vote
1answer
727 views

cURL SFTP upload speed only 50% compared to command line SFTP

I need to use cURL to upload some files to an SFTP server, it has to be using cURL because I'll be later using cURL_multi etc to transfer files simultaneously (unless anyone knows a command line ...
2
votes
2answers
1k views

why is sftp rmdir not working?

I'm trying to remove a directory with lots of files and folders from my private server space. I'm logging on via SFTP fine; I can access the entire directory no problems; I can even delete individual ...
0
votes
1answer
194 views

How to index and search SFTP/SSH files in Windows?

I use Index Your Files to index and search shared network locations quickly in Windows. I found some files on a shared network location. When I opened this network location in WinSCP I found that it ...
0
votes
1answer
3k views

SFTP without password prompt (from linux to windows)

I'm using freeftpd as an sftp server on Windows machine. From my Linux machine (Ubuntu) I want to do a SFTP from Linux to Windows, and I want to bypass entering a password. Can some one please ...
2
votes
1answer
170 views

Linux Quota Custom Error Message via SFTP

Is it possible to pass a custom error message to the sftp client when the user exceeds the soft or at least the hard quota limit? My SFTP Client (WinSCP) shows me an error message in which it states ...
2
votes
3answers
142 views

How to prevent a user from viewing the entire file-system?

I've set up SFTP/SSH so that a user can only put to their home directory, however, they can still cd to all other directories and get files that they see. How can I prevent this? EDIT: My ...
2
votes
1answer
1k views

Linux FTP User Directory Access Restriction?

I'm setting up the SFTP with different users. I simply need to strict some users to be given stricted Folder Access. General users to access the whole Main FTP Directory normally: ...
0
votes
0answers
272 views

Automation script to SCP from UNIX to Window Server

I'm new to server/Unix trying to transfer file between AIX to Windows I'm trying to create SCP or SFTP script that will run on cron and transfer text file on /usr/apps/11.111.1.11.log file to window ...
0
votes
1answer
1k views

Does FTP have Auth SSL option?

I am working with a supplier who's just tightened their security. They moved from an anonymous FTP setup to a more secure alternative. The parameters they gave me Host: blahblah.net Port: 4421 Path: ...
1
vote
1answer
2k views

What is the meaning of “spawn” linux shell commands ? (Centos6)

I need to know how to setup a cron job that automatically connects to the remote server and change the directory and get all the files in that directory to local i think i have to use sftp but i saw ...
1
vote
2answers
1k views

sftp chmod recursive

I have logged into a server via sftp via terminal. When I run the command chmod -R 755 ./* I get the error You must supply a numeric argument to the chmod command.. How do I apply a recursive ...
0
votes
1answer
1k views

Linux: prevent SFTP users from deleting FTP'd files even straight after they upload them?

I've set up an sftpusers group on my CentOS box and am using the internal SFTP service to allow users to upload files to a chroot-configured directory. The owner of the directory is root, and its ...
2
votes
2answers
2k views

Any way to use sftp as superuser?

I'm using Transmit.app (in Mac) to sftp to my Ubuntu server. Is there any way to gain superuser permission so that I can remotely write any file?
1
vote
2answers
551 views

Can i scp to an sftp-only server with RHEL5?

I have a RHEL5 box with sftp access to a central server. No ssh, not anything else but sftp. SFTP is nice, but it's interactive. I've heard of scp variants that use sftp protocol under the hood, ...
1
vote
1answer
916 views

How to remotely open gedit with SFTP URL in Gnome through SSH?

My setup is weird and I can't change it now. I have two machines: local-machine: it's my desktop running Ubuntu with Gnome remote-machine: it's one virtual machine, also running Ubuntu but without X ...
3
votes
1answer
2k views

Can't write or download to SFTP on Ubuntu Server 10.04

I'm having a problem setting up SFTP with an Ubuntu Server 10.04 LTS x64. I use openSSH with public key authentication, I can login with SSH perfectly with the keys no problem. I can also connect to ...
1
vote
2answers
3k views

SFTP ChRoot result in broken pipe

I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : ...
3
votes
1answer
312 views

SFTP with chroot in a folder that can not have root privileges

I have troubles with setup a SFTP with chroot in "public" folder. Each client on my server has 3 to X accounts. These three accounts are: USER - system account only for internal use, requires full ...
0
votes
2answers
671 views

setgid bit always unset when changing file permissions

good evening dear Serverfolks! i am a newbi so do not bear with me! I run a linux sever that is administered by a friend of me. He prepares the chown and permissins - with the setgit-bit to on. ...
0
votes
1answer
775 views

Linux CentOs: Setup ssh & sftp

I have a desktop server which has CentOs 5. When im on the same LAN with the desktop server, i'm able to ssh but not when i tried to ssh from the public IP. How do i setup ssh and sftp for public IP?? ...
0
votes
1answer
11k views

How to not allow user outside of home directory with SFTP

I'm running Ubuntu 10.04. I have users' home directories set, but I want to restrict them to their home directory and its children when they are connecting via SFTP. In other words: not allowing ...
0
votes
1answer
145 views

Can I use bash features such as word completion and scrolling in SFTP?

Is it possible to use the bash features such as word completion, reverse search, scrolling, etc. in SFTP? When I try the scroll feature with the up-arrow, it always writes the symbol ^^^.
6
votes
1answer
18k views

How can I setup the openSSH SFTP server on Linux?

I want to configure sftp-server to share a directory but I don't know how to modify /etc/ssh/sshd_config. My requirements are: 1) Login shall not use certificates, only password (i.e. authorization ...