New answers tagged sftp
0
votes
No ability to delete files on sftp mounted by sshfs
By specifically mointing the volume with the uid=0,gid=0 [root, root] options, you have assigned ownership to root.
Replace the values with the results of id -u;id -g, and your life will be easier.
...
1
vote
How to make tar save the archive on a remote machine using sftp or ftp?
With curl:
tar jcf - ~/importantfiles/* | curl -T- sftp://host/path/to/file.tar.xz
Or with shells with support for Ksh-style process substitution, including ksh93, zsh, bash¹:
tar jcf >(curl -T- ...
0
votes
How to make tar save the archive on a remote machine using sftp or ftp?
This works for me:
(echo put - <remotefilename.tar.gz>; tar czf - <files>) | ftp <hostname> <port>
The ftp program takes commands from stdin, in this case the command was &...
Top 50 recent answers are included
Related Tags
sftp × 669ssh × 224
linux × 108
permissions × 55
chroot × 50
shell-script × 49
ubuntu × 46
scp × 46
ftp × 41
centos × 40
bash × 39
openssh × 36
sshd × 35
debian × 27
shell × 23
rhel × 20
scripting × 19
remote × 18
key-authentication × 17
sshfs × 17
rsync × 15
users × 15
vsftpd × 15
security × 12
file-transfer × 12