similar to: How to use sftp unattended?

Displaying 20 results from an estimated 30000 matches similar to: "How to use sftp unattended?"

2008 Nov 21
1
Force close on unattended SSH/SFTP connections
Dear CentOS people, I'm sure many have faced this before but I can't seem to figure this out. I need unattended OpenSSH and its SFTP connections to be closed after a while (say, in 10 minutes). This needs to override anything that could be done from the client side (ServerAliveInterval or keepalives a program like PuTTY can send). I kind of understand it's not always easy to
2001 Sep 10
0
[PATCH] quick hack for 'resume' support in sftp
I saw several questions regarding 'resume transfer' support in sftp come up, in the archives, but no real satisfying answer. I had a particular itch myself, so I scratched it with a quick hack. Patch attached, since it's not really big. To explain, I need to use ssh (scp or sftp) to transfer files to and from a Windows box. No other method is available. And the Windows machine has no
2019 Jun 21
2
sftp client: upload from pipe
Hi, the sftp client from openssh package can't upload data from local pipe to remote file. For example, such a command fails: $ cat file | sftp -b <(echo 'put /dev/stdin /directory/filename') -i ~/.ssh/key user at remote.host sftp> put /dev/stdin /directory/filename /dev/stdin is not a regular file What is a purpose for such a behaviour and limitation? As experiment, I removed
2003 Apr 09
2
[Bug 542] OpenSSH 3.6.1p1 - sftp exit codes and improved logging for scripting
http://bugzilla.mindrot.org/show_bug.cgi?id=542 Summary: OpenSSH 3.6.1p1 - sftp exit codes and improved logging for scripting Product: Portable OpenSSH Version: -current Platform: Sparc OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: sftp AssignedTo:
2007 Feb 18
8
[Bug 1286] SFTP keeps reading input until it runs out of buffer space
http://bugzilla.mindrot.org/show_bug.cgi?id=1286 Summary: SFTP keeps reading input until it runs out of buffer space Product: Portable OpenSSH Version: v4.5p1 Platform: All OS/Version: Linux Status: NEW Keywords: patch Severity: normal Priority: P2 Component: sftp
2013 Jul 17
1
Integrating valgrind with sftp-server
Hi, I am trying to integrate valgrind with sftp-server. I've replaced the sftp subsystem line in /etc/ssh/sshd_config file as follows: Subsystem sftp /usr/bin/valgrind --log-file=~/abc --trace-children=yes /root/openssh-6.2p2/sftp-server But I am not able to connect to the sftp-server. These are the last messages that the client logs. <snip> debug1: Sending subsystem: sftp
2002 Jul 01
3
patch: readline support for sftp
Hello, I hope this is the right place to post this. I added readline support to the sftp client. It adds optional --with-readline parameter for configure to enable this feature. You'll of course need to re-run autoheader and autoconf after applying this patch. It's patched against 3.4p1 but should work with any recent openssh. It works fine for me (GNU/Linux) - feel free to test it and
2006 Jun 26
1
Problems with SFTP
Guys, Once again I need some help I hope you can give me. When I try to SFTP to any of my PCs (also running openssh) from my Xscale (ARM, big-endian) system sftp segfaults on me. Sftp to the xscale system works without any problems. I'm using openssl-0.9.8b (with ocf support), linux-2.6.16 and openssh 4.3p2 on the Xscale system. One of the systems I try to sftp to runs Openssh 3.7.1p2, with
2001 Oct 10
0
sftp localhost exits after authentication?
Hi, I use openssh-2.9p2 on a LynxOS i386 system. The ssh and scp clients work fine. Even sftp from other Linux systems works. But, if I make sftp to the localhost (LynxOS), the authentication succeeds, prints sftp> prompt and then exits. I don't know why this happens. I have not set the euid of ssh program to root as it does not work in LynxOS (may be problem with saved ids). Might this
2002 Nov 18
0
[Bug 438] New: SFTP does not work for users with RSH shells
http://bugzilla.mindrot.org/show_bug.cgi?id=438 Summary: SFTP does not work for users with RSH shells Product: Portable OpenSSH Version: older versions Platform: Sparc OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: sftp AssignedTo: openssh-unix-dev at mindrot.org
2007 May 14
1
sftp chroot not working
Hi, I have configured and installed openssh-4.5p1-chroot on my aix server 5.3-05. I am able to chroot during ssh connections but when trying to chroot an sftp connection I am getting the error below: Any ideas?, I have modified the session.c file, reconfigure and re-install without any luck. (regular sftp users are not being affected) sftp -1Cv chr at puff Connecting to puffin...
2023 Sep 19
1
Subsystem sftp invoked even though forced command created
This is a new branch of an old thread, made necessary because the email system here purges sent messages after a period of time so I can't reply to the last message in the thread. The operative portion of that last message (retrieved from the archives and dated July 3, 2023) follows: /*****/ So I set up a fresh key to use for this test, and gave it similar parameters. I wasn't aware of
2003 Oct 17
1
Script Control of sftp
I am trying to conduct a full sftp session using the proc_open() function of PHP: http://www.php.net/manual/en/function.proc-open.php Once I get past the authentication stage, everything works fine: the script is able to write to sftp's stdin and capture its stdout. However, during the auth stage, these are apparently bypassed somehow, and IO takes place directly with the terminal. That is,
2010 Jun 18
0
OpenSSH - SFTP issue
Hello, We are having issue with SFTP for Windows server. The OpenSSH reports the "Exit Staus -1" upon exiting the sftp session ( Though the file is successfully getting transferred!!). I have opened ticket with VanDyke Software - vShell and reported this issue. Accordiong to VanDyke Software, there is no issue with vShell configuration / its debug logs. Would you
2008 Apr 15
0
ChrootDirectory - SFTP subsystem works fine but SSH hangs
Hi I'm using Centos 5 with Openssh-5.0p1 installed (and OpenSSL 0.98b and Zlib 1.2.3-3). I've managed to get a chroot'd SFTP session using ChrootDirectory and the new built-in SFTP subsystem. However, when I use SSH to connect to the same account the session hangs rather than closing the connection. This happens whether or not I use /sbin/nologin /bin/false or even /bin/sh
2001 May 08
1
sftp problem
I am trying to resolve an issue with SSH2 version 2.5.2p2 on Solaris 2.6. SSH2, SSH1 and SCP all work fine in and out. The problem is with SFTP. I can SFTP out, but not in. I can't SFTP into itself. After I issue the command, I get a password prompt. After I give the password, the connection closes with an Exit Status 127. There are 3 other system configure the same and everything is
2014 Dec 28
0
unattended install
On Sun, Dec 28, 2014 at 12:25:05PM +0100, Sich wrote: > I am curently trying to make some script to auto install tinc 1.0.25 on > linux servers. > I have some problem with the tincd -n -K to generate the key pairs because > he ask me to validate the files used for the keys.... > > I have read the man page but I didn't find how to validate this files > without any
2003 Oct 13
1
Problem in sftp 'ls' command output
Hello, I have recently moved from OpenSSH 3.6 to 3.7 (portable version) : [pyb at nihao tmp]$ ssh -v OpenSSH_3.7p1, SSH protocols 1.5/2.0, OpenSSL 0.9.6h 5 Dec 2002 (okay, the SSL release is a little old but that's not the subject). I am also using scripts to perform automated sftp transfers between some systems. The 3.7 release of OpenSSH broke my scripts, which made me sad and my
2023 Jul 07
1
Subsystem sftp invoked even though forced command created
On 06.07.23 23:37, MCMANUS, MICHAEL P wrote:> So changing the forced command as stated will break the application. I > would need to create a test bed to simulate the listener rather than > use the server as is, where is. That may produce false or misleading > results. Since the forced command is tied to the specific keypair in the authorized_keys, you could -- test with a different
2023 Jul 06
1
Subsystem sftp invoked even though forced command created
On 05.07.23 18:01, MCMANUS, MICHAEL P wrote: > It appears the forced command either does not run or runs to completion > and exits immediately, as there is no process named "receive.ksh" in > the process tree. FWIW, two cents of mine: -- The script *exiting* should *not* prompt sshd to execute the requested subsystem "as a second thought", or else it'd happen