scp and sftp not working between my linux client and freebsd sshd server.

From: aa (aaa777aa@yahoo.com)
Date: 01/03/02

  • Next message: Mike O'Connor: "Re: ssh2 precompiled binaries"

    From: aaa777aa@yahoo.com (aa)
    Date: 3 Jan 2002 14:08:24 -0800
    
    

    Hello,
       Per subject, I cant scp nor sftp. I have a SuSe 7.2 2.4.4 kernel
    with OpenSSH_2.9p1, SSH protocols 1.5/2.0, OpenSSL, and Freebsd
    sshd version OpenSSH_2.3.0 green@FreeBSD.org 20010321. Please help
    me troubleshoot what causes my broken pipe. Thanks in advance.

    I have enabled debug mode on the by
    # /usr/sbin/sshd -d
    debug1: sshd version OpenSSH_2.3.0 green@FreeBSD.org 20010321
    debug1: read DSA private key done
    debug1: Bind to port 22 on 0.0.0.0.
    Server listening on 0.0.0.0 port 22.
    Generating 768 bit RSA key.
    RSA key generation complete.
    debug1: Server will not fork when running in debugging mode.
    Connection from gnj.snakeoil.net port 32801
    Connection from 192.168.100.131 port 32801
    debug1: Client protocol version 1.5; client software version
           OpenSSH_2.9p1
    debug1: no match: OpenSSH_2.9p1
    debug1: Local version string SSH-1.99-OpenSSH_2.3.0 green@FreeBSD.org
           20010321
    debug1: Sent 768 bit public key and 1024 bit host key.
    debug1: Encryption type: 3des
    debug1: Received session key; encryption turned on.
    debug1: Installing crc compensation attack detector.
    debug1: Starting up PAM with username "mathew"
    debug1: Attempting authentication for mathew.
    debug1: PAM Password authentication accepted for user "mathew"
    Accepted password for mathew from 192.168.100.131 port 32801
    debug1: session_new: init
    debug1: session_new: session 0
    debug1: Exec command 'scp -v -t /home/mathew/classes12.jar'
    debug1: PAM establishing creds
    debug1: Entering interactive session.
    debug1: fd 10 setting O_NONBLOCK
    debug1: fd 10 IS O_NONBLOCK
    debug1: fd 12 setting O_NONBLOCK
    debug1: server_init_dispatch_13
    debug1: server_init_dispatch_15
    debug1: tvp!=NULL kid 0 mili 10
    debug1: EOF received for stdin.
    debug1: tvp!=NULL kid 0 mili 10
    debug1: Received SIGCHLD.
    debug1: tvp!=NULL kid 1 mili 10
    debug1: tvp!=NULL kid 1 mili 100
    debug1: End of interactive session; stdin 0, stdout
     (read 25, sent 25), stderr 332 bytes.
    debug1: Command exited with status 0.
    Connection closed by 192.168.100.131
    debug1: Calling cleanup 0x8058330(0x0)
    debug1: Calling cleanup 0x805e72c(0x0)

    On the client side I enabled debug also:
    ==[oracle] /u01/OJSP/j2ee/home/lib $ scp -v ./class12.jar
    mathew@permi:/home/mathew/classes12.jar
    Executing: program /usr/bin/ssh host permi, user mathew,
    command scp -v -t /home/mathew/classes12.jar
    mathew@permi's password:
    Environment:
      PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/
    usr/X11R6/bin:/home/mathew/bin
      MAIL=/var/mail/mathew
      BLOCKSIZE=K
      FTP_PASSIVE_MODE=YES
      USER=mathew
      LOGNAME=mathew
      HOME=/home/mathew
      SHELL=/usr/local/bin/bash
      SSH_CLIENT=192.168.100.131 32801 22
    gcc: No input files specified
     I came in from .bashrc
    ==[oracle] /u01/OJSP/j2ee/home/lib $ Write failed flushing stdout buffer.
    write stdout: Broken pipe



    Relevant Pages

    • OpenSSH 3.5p1 port forwarding problem on Solaris 2.8
      ... I'm trying to use port forwarding to get a SqlNet connections back thru ... This gets a Connection refused. ... debug1: Rhosts Authentication disabled, ...
      (comp.security.ssh)
    • Re: OPENSSH 3.4p1-3 on AIX 4.3.3
      ... Teh debug output from the server is exactly the same, ... another port. ... reverse dns setup properly for that client? ... debug1: Server will not fork when running in debugging mode. ...
      (SSH)
    • SSH Port forwarding does not work
      ... I am attempting connect via remote desktop from my home computer ... attempting to ssh from the Vista computer to my home machine, and port ... debug1: Connection established. ... All remote forwarding requests processed ...
      (comp.security.ssh)
    • Re: OpenSSH and pam_radius_auth.so
      ... ::ffff:10.4.148.59 port 1195 ssh2 ... debug1: PAM: num PAM env strings 0 ...
      (comp.security.ssh)
    • ssh: acces denied (only from remote network)
      ... ListenAddress:: ... owl:/home/mitja# debug1: read PEM private key done: type RSA ... Bind to port 22 on 0.0.0.0. ... Server listening on 0.0.0.0 port 22. ...
      (comp.os.linux.networking)

  • Quantcast