Displaying 3 results from an estimated 3 matches for "connect_to_serv".
Did you mean:
connect_to_server
2005 Jun 15
0
sftp-logging patch and make tests problem
i tried the sftp-logging patch (v 1.3 from
http://sftplogging.sourceforge.net/download/v1.3/)
with OpenSSH 4.1p1 (and 4.0p1)
with the patch applied, all sftp tests
in "make tests" fail
(sfp exits with 255)
strace shows that there is a SIGCHLD immediately after
fork() in connect_to_server()
and sftp gets then killed by "SIGPIPE (Broken pipe)"
using the same sftp/sftp-server combination over sshd/network
shows no problems
has anyone else noticed this behavior?
Frank
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt m...
2006 May 23
4
Are there OpenSSH library coding examples
Hi-
Apologies in advance if this is off-topic, but I've been
unable to find any coding or usage examples on how to open a
SSH client to a remote server. I'll happily RTFM if I can just
find the FM (!). The client environment is x86 Linux 2.6.x,
the remote SSH servers will be on proprietary embedded devices.
My current application uses a socket interface and select()
to communicate
2002 Feb 05
3
COPY_SIZE #define
...openssh-3.0.2p1/sftp.c openssh-3.0.2p1-mtb1/sftp.c
--- openssh-3.0.2p1/sftp.c Wed Sep 19 20:57:56 2001
+++ openssh-3.0.2p1-mtb1/sftp.c Tue Feb 5 11:19:25 2002
@@ -48,6 +48,7 @@ char *__progname;
char *ssh_program = _PATH_SSH_PROGRAM;
FILE* infile;
+unsigned int COPY_SIZE=8192;
static void
connect_to_server(char **args, int *in, int *out, pid_t *sshpid)
@@ -95,7 +96,7 @@ usage(void)
{
fprintf(stderr,
"usage: sftp [-1Cv] [-b batchfile] [-F config] [-o option] [-s subsystem|path]\n"
- " [-S program] [user@]host[:file [file]]\n");
+ " [-B...