The SSH File Transfer Protocol (SFTP) provides secure file transfer functions using the same infrastructure used by the Secure Shell protocol. It can be seen as a secure replacement for FTP.

learn more… | top users | synonyms

3
votes
2answers
114 views

Denying “/opt/” access for SFTP Users other than particular dir

This is my first (newbie) post here in unix stackexchange. I want to use my WebServer (Debian) as SFTPServer giving access to particular employees. The dir structure is as follows under root: ...
0
votes
2answers
618 views

Script SFTP with password - HP-UX

I would like create a script in HP-UX to send in sftp with password. I have this command sftp -o PasswordAuthentication= but if I answer yes or no after, I have this issue "Host key verification ...
2
votes
1answer
231 views

CHROOT: Unable to copy files to jailed users directory from local machine using WINSCP

I've setup a chroot environment for one of my users called client on my system. I'm using WINSCP to connect to my server from my machine using public key authentication. Everything works fine, I can ...
1
vote
1answer
86 views

Can selinux log an application owner name?

So I've set up selinux to log all file access operations in a certain directory. Here's some sample log output when doing an ls from sftp: type=AVC msg=audit(1338465611.221:356): avc: granted { ...
0
votes
1answer
37 views

Connect psftp between Unix and Windows server

I need to transfer files from Unix to Windows server. After creating a folder in the windows server files need to be copied from Unix to Windows. I am using psftp to do this process.So, I am trying to ...
0
votes
1answer
37 views

Setup SFTP in Ubuntu AMI

I want to setup SFTP on Amazon Ubuntu AMI. I can connect to the instance with PuTTY and access my project file through normal FTP (using Filezilla). For FTP access proftp is installed in Webmin. Can ...
0
votes
1answer
111 views

Unable to move files with SFTP

I'm trying to move files from one location to another on the remote server using sftp below: for i in a b c d do sftp $REMUSR <<EOM>>$OUT 2>&1 rename ...
0
votes
1answer
153 views

using SFTP: Permission denied, please try again,

system info uzair@zaidi:~/Desktop/tftpboot$ uname -a Linux zaidi 3.11.0-20-generic #35~precise1-Ubuntu SMP Fri May 2 21:35:48 UTC 2014 i686 i686 i386 GNU/Linux uzair@zaidi:~/Desktop/tftpboot$ I get ...
0
votes
1answer
189 views

How to track SFTP's error

I have 1 script which is used for SFTP. I am getting error for permission issue on target server. I want to track this error in log file. How i can track the sftp's error. below is my code, sftp ...
0
votes
1answer
107 views

SFTP Modification time Permission denied when touching/updating files

The file is apache:apache 660 and username is jdoe and he belongs to groups jdoe and apache. He SFTPs into the server with WinSCP but when he goes to perform an edit which includes a set modtime ...
2
votes
0answers
289 views

sshfs breaks symlinks from SFTP server

Does anyone know how to mount a remote SFTP path via SSHFS so that you can work with symlinks? When I do this, all the symlinks I create point to the wrong files (not the ones I linked to.) All the ...
2
votes
0answers
535 views

kio sftp does not work but fish works

If I try to initiate an sftp connection from dolphin (or konquerer), it tells me the password is wrong and asks me for the correct password. Incorrect username or password Do you want to retry? ...
1
vote
0answers
71 views

Listing previous logins through sftp

Hello people of the stackexchange, I am having a little difficulty trying to find a location of a particular log file which i'm hoping someone on here could help me with. What i am trying to do is ...
1
vote
0answers
166 views

Unable to transfer files via SFTP when using a normal user account

I'm unable to transfer files via WINSCP>sftp to a GNU/Linux server. When transferring a file using root account, there's no problem. However, when I transfer using another account, the file being ...
1
vote
0answers
266 views

Making ChrootDirectory directory writable by SFTP user

If a user logs into a machine via SFTP, one can make use of ChrootDirectory keyword to give an illusion that user is in a root directory. But that directory is only writable by root user. I would love ...
0
votes
0answers
45 views

Connect Unix and Windows using shell script

SRCDIR="source/directory" TMPDIR="temp/directory" [ ! -d "$TMPDIR" ] && mkdir -p "$TMPDIR" for file in `find "$SRCDIR" -ctime -1 -type f -name "abc*pdf*"`; do cp $file $TMPDIR done cd ...
0
votes
0answers
123 views

Jailkit not working properly when connecting remotely from iPad via SFTP app

I used jailkit to add users and restrict them to a jail directory. It works for Linux and PC clients connecting to the ssh server but when I connect with iPad it gives them access to everything. I ...
0
votes
0answers
136 views

Creating a Safe Web Server

Web server hosts multiple websites. Multiple users update each website. User home directory /home/user1 /home/user2 Web directory /var/www/site1 /var/www/site2 Each user uses SFTP to upload ...