sftp's questions - Danish 1answer

387 sftp questions.

Currently I use Fish as my main shell on local and remote hosts. I connect to remote hosts via ssh and sftp. I wanted to open or reuse a remote tmux whenever I connect, automatically, by default; so ...

I have a user that has their shell set to nologin, or actually a different binary "noshell" provided by cPanel. whatever the case, I want to know if setting their shell this way is enough to prevent ...

I am trying to connect to an external server using a proxy with the below command: sftp -v -o "ProxyCommand /usr/bin/nc -X connect -x proxyserver.com:8080 %h %p" user@server.com This isn't working. ...

I did install sftp on CentOS and did add new group: groupadd sftp did create new user: useradd -m sftp_user_1 -s /sbin/nologin -g sftp did create password: passwd sftp_user_1 did change owner: ...

I have confirmed that I can login via Telnet $ telnet ftp.domain.com 990 Trying xx.xxx.xxx.xx... Connected to ftp.domain.com. Escape character is '^]'. I am getting the following error when trying ...

How can I change the permissions of the file/command, while using the sftp command via a shell script? My sftp connection is established, but it fails while executing the chmod command. As of now, I ...

I need to read the crontab file of a shared user on a remote machine. I cannot SSH directly to that user, but rather SSH to my private user and then run sudo -iu <shared user>, so I can't ...

I have a number of Quartz timers, which run monthly, generate csv files and upload it to my server using ftp & sftp (on different machines) protocols. This was working all good for me until last ...

Imagine the following setup: Two laptops: Let's call them [laptop A] and [laptop B]. Each laptop has the same operating system installed (Debian 9 Stretch) Each laptop has openssh-server installed ...

I am coming from Windows, where I ran the program MobaXTerm. Essentially I used it as an SSH client (though it has other uses). It has a great feature of showing the files and directories on the left ...

I have made the below expect script and I need to log the output of that script. SOURCE_FILE=`ls -l *.txt --time-style=+%D | grep ${DT} | grep -v '^d' | awk '{print $NF}' ` if [ -n "${SOURCE_FILE}" ] ...

My company's ERP server stores backups of code, database, and files (identification documents) uploaded to server. I would like to make a script that detects sftp file transfer from server to the user ...

I have apache web server, linux, ssh access with sudo. And many troubles with editing, uploading, pushing, committing there. Because there are set 755 for dirs, 644 for files, and apache:apache owner ...

Have a wierd issue with permissions on files uploaded to a remote system. Locally, the file index2.html is chmod 664: acoder@acoder-local ~ $ ll index2.html -rw-rw-r-- 1 acoder acoder 29 May ...

I am little bit lost or confused. I have some secure server where inside ~/.ssh/authorized_keys i have a key to remotely login those servers from my desktop (mac book ) Now that secure server need ...

I just installed a CentOS-based to serve as an SFTP server. I need all incoming files to go /mnt/inbound/ folder, so I want to ensure that every user from this host that logs in via SFTP gets /mnt/...

I can connect to my server using ssh dziura and it works as it should, but I have problems copying any files to/from the server using rsync/scp/sftp. Scp: $ scp dziura:/home/kossak/file_remote.txt . ...

upload to sftp batch mode

1 answers, 40 views sftp
I need to upload files to an SFTP server as part of an automated pipeline process (so can not be interactive). I do not have ssh access so I can not use scp or rsync. I have had some success using ...

I have a setup with sftp only users: Match Group sftponly ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no I get the following message in my secure.log: fatal: bad ...

Suppose I have two solaris servers, A and B, and I am connecting from one server to another using sftp. Suppose B tries to connect to A using SFTP. Then How to detect in A the sftp request sent by ...

Is it possible to configure duplicity to save the generated backup to multiple destinations without doing the whole backup process twice? Something like duplicty --full --volsize 1024 -v5 sftp://user@...

I want to deploy multiple files on multiple remote machines, what is the best way ( other than ssh's ssh-key ). Is there any lightweight service for this ? For example, I have 15 files which should ...

I am running an sftp file sharing service with multiple chrooted sftp users with without a shell. In order to make them read and write the same directory (let's say "sftp-dir"), I did the following ...

My Debian server is configured to jail the users in ther home directory after login with sftp (that works). Now im trying to execute a profile for the user. I was thinking sftp is a non-login shell ...

My final goal is to create a SFTP server coupled with a PGP authentication as described here: SFTP+PGP. Actually I succeeded to create a sftp_user user who can connect to his own directory on my ...

Making data migration (Debian OS) from one server to another, is SFTP (Ftp with SSH) fully encrypted ? Data with file names ?

We have the following sftp version in our Linux environment: bash-4.1$ sftp -V sftp: Tectia Client 6.3.11 on x86_64-unknown-linux-gnu Build: 121 Product: Tectia Client License type: commercial ...

Let's assume I have two identical systems. On the first system I've created a symbolic link. On the second one I want to copy that symlink via sftp and the symlink shall work the same (i.e if the ...

I am trying to set up and SFTP service with the following directory layout, which seems to have layered access: /home/sftp/my_company << accessible by staff | +--employee_1 << ...

I have a text document on a different machine that I open through sftp. However, when I try to save it, I get an error message: Save File Failed! Error: ENOTSUP: operation not supported on socket, ...

I have provided my own answer below. We have a number of bash scripts that work fine using SFTP, what I would like to do is to simply re-direct an ls or dir of a folder to a file on our SFTP Server.. ...

so I setup sftp and it all worked fine. but the user dir is /usr/ftp_user and instead I would like the dir to be /var/www and restrict it only to the files in that folder. My sshd_config Match Group ...

I have Centos running a Linux VM on a Windows machine. I'm not able to connect to the VM using WinSCP with sftp on port 22 or ftp on port 21. I have Subsystem sftp /usr/libexec/openssh/sftp-...

I've looked at the other pages for getting locked out of ssh, but this is a bit more unique. I am auditing a CentOS box with a custom ssh binary that acts differently than a normal one. To fix this, ...

sftp xx@xx.xx.xx.xx:/DIR/ <<< $'put /transfer/dr**' && echo "Passed - `date`" 1>>$LOGFILE 2>>$LOGFILEerr Can you please help me what's missing in above command. Issue ...

Using ssh, it is easy to print the contents of a file using ssh host 'cat file.txt' When ssh is disabled, and only SFTP is enabled, running the previous command gives the following error: This ...

Does sunSSH internal-sftp support -d option as does the equivalent in openSSH? Basically in my /etc/ssh/sshd_config file I do: Match Group sftp ChrootDirectory %h ForceCommand internal-sftp -d /...

Apart from the root user I've created another which has ssh access and read/write all the /home/public_dir contents. That user is web:web. I want to give SFTP access for a developer to read/write ...

I have an Amazon Linux instance running SSH acting as an SFTP server. Clients log in, and are chrooted into an NFS-mounted directory. Users can read, write, and delete files, but renaming files fails ...

I have an Asus DSL-AC68U router. I can easily ssh to it: ssh router After having configured the proper options in .ssh/config: Host router Hostname ddnshostname User myuser KexAlgorithms +diffie-...

I have a folder on a linux machine to which a cisco(ISE) device sends the backup through SFTP. The files are coming to the folder successfully but unable to view the files from the device. CISCO TAC ...

in my LAN there are different OS for testing purposes. All of the machines do not have any iptables or firewalling since it is only for testing. I am facing an issue with sftp lately. I cannot connect ...

Is it possible that a server that doesn't anticipate/ does not support environment variables from clients, terminate such sessions upon noticing the client sending such variables? I have captured ...

I have the Android SimpleSSHD app installed on my phone. From my Arch Linux desktop I can ssh to my phone from the command line. I can also sftp to my phone from the command line. However, KDE ...

I have a script that logs into sftp server eval `ssh-agent -s` ssh-add /home/<username>/.ssh/id_rsa sftp <username>@<target> This works, but I would like to get only files that are ...

I just installed vsftpd according to these directions. I am trying to get ftp working on my Ubuntu box that is using Amazon AWS. When I first tried this directions, it did not work. I was trying to ...

I have been stuck with this issue all afternoon and I don't know what is going on. The reason why I need to use the sftp command is because I am using it in a shell script. If there is another program ...

I need to download some data from some SFTP connection and delete if on that FTP afterwards. But I have to be sure to have downloaded the data correctly. At the moment I just do this in my script run ...

I have a need to set up an SFTP server which is multi user. The users in question have read-only access to their chrooted folders. I need to be able to put files to these folders via SFTP with a ...

I want to be able to use SFTP to edit files that require root permissions. I'm using SSH Key based authentication - rsa key on smart card. If the system requires sudo to perform root level commands, ...

Related tags

Hot questions

Language

Popular Tags