From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 23:58:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61E7916A4CE for ; Mon, 9 Feb 2004 23:58:06 -0800 (PST) Received: from server945.gisol.com (server945.gisol.com [207.44.208.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AED143D1F for ; Mon, 9 Feb 2004 23:58:06 -0800 (PST) (envelope-from webmaster@countrypure.net) Received: from 216-229-72-54-dialup-mo.fidnet.com ([216.229.72.54] helo=countrypure.net) by server945.gisol.com with asmtp (Exim 4.24) id 1AqSmL-00041D-H1; Mon, 09 Feb 2004 23:57:58 -0800 Message-ID: <40288E7A.30204@countrypure.net> Date: Tue, 10 Feb 2004 02:55:38 -0500 From: Quintin Riis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: twig les References: <20040209210854.34037.qmail@web60406.mail.yahoo.com> In-Reply-To: <20040209210854.34037.qmail@web60406.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server945.gisol.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - countrypure.net cc: freebsd-questions@freebsd.org Subject: Re: SCP fails while ssh works... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2004 07:58:06 -0000 Are you using bash ? If ~/.bashrc generates ANY output, it WILL break the scp and rcp commands. Quintin twig les wrote: > Hey all, I have to identical boxes running 4.6 and all of a > sudden one stopped taking SCP even though it still takes ssh > connections. The other box is still working fine and they are > on the same subnet. The only thing I could find online about > this is an MTU mismatch which makes no sense in this situation. > I can bounce the sshd proc when I get someone on site since > these are in a different state. The "-v" outputs are below, > snipped for clari/brevity. Notice the bad guy's (booo, hiss > hiss) inability to form a complete connection. > > GOOD CONNECTION: > debug: SshConfig/sshconfig.c:2232/ssh2_parse_config: Unable to > open /opt/home/ktokash/.ssh2/identification > debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc: > Method 'publickey' disabled. > debug: server offers auth methods > 'publickey,password,keyboard-interactive'. > debug: > Ssh2AuthPasswdClient/authc-passwd.c:95/ssh_client_auth_passwd: > Starting password query... > ktokash@mas02's password: > debug: Ssh2Common/sshcommon.c:286/ssh_common_special: Received > SSH_CROSS_AUTHENTICATED packet from connection protocol. > debug: Ssh2/ssh2.c:646/client_authentication_notify: Returning > user input stream to original values. > scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: > No connection yet. Waiting... > debug: Ssh2Common/sshcommon.c:829/ssh_common_new_channel: > num_channels now 1 > debug: > SshTtyFlags/sshttyflags.c:354/ssh_internal_encode_tty_flags: Not > a tty. (fd = 0) > scp:SshFCTransfer/sshfc_transfer.c:1866/transfer_rm_dest: > Removing destination file ./snortrules-stable.tar.gz . > scp:SshFCTransferCore/sshfc_trcore.c:125/transfer_start: > Starting transfer for file snortrules-stable.tar.gz, destination > ./snortrules-stable.tar.gz > snortrules-stable.tar.gz > | 211kB | > 211.2 kB/s | TOC: 00:00:01 | 100% > scp:SshFCTransfer/sshfc_transfer.c:2489/transfer_one_done: > Finished with file ./snortrules-stable.tar.gz. > scp:Scp2/scp2.c:706/transfer_ready_cb: Received error SSH_FC_OK, > error message . > scp:Scp2/scp2.c:867/scp_transfer: Transfer ready > scp:ssh_pipe_stream_destroy > scp:SshAppCommon/sshappcommon.c:146/ssh_app_free_global_regex_context: > Freeing global SshRegex context. > debug: > SshConnection/sshconn.c:405/ssh_conn_send_channel_data_type: EOF > from channel stream > cge01% debug: > SshConnection/sshconn.c:667/ssh_conn_channel_write: EOF received > on write from channel 0x207570, extended stream 0. > debug: > Ssh2ChannelSession/sshchsession.c:1716/ssh_channel_session_request_exit_status: > received exit status : 0 > debug: Ssh2Common/sshcommon.c:803/ssh_common_destroy_channel: > num_channels now 0 > debug: Got session close with exit_status=0 > debug: destroying client struct... > debug: Ssh2Client/sshclient.c:1478/ssh_client_destroy: > Destroying client. > debug: SshConfig/sshconfig.c:537/ssh_config_pki_free: Freeing > pki. (host_pki != NULL, user_pki = NULL) > debug: SshConnection/sshconn.c:1982/ssh_conn_destroy: Destroying > SshConn object. > debug: Ssh2Client/sshclient.c:1540/ssh_client_destroy_finalize: > Destroying client completed. > debug: > SshAuthMethodClient/sshauthmethodc.c:89/ssh_client_authentication_uninitialize: > Destroying authentication method array. > debug: Ssh2/ssh2.c:363/sigpipe_nonfatal_cb: Received SIGPIPE. > debug: > SshAppCommon/sshappcommon.c:146/ssh_app_free_global_regex_context: > Freeing global SshRegex context. > debug: SshConfig/sshconfig.c:537/ssh_config_pki_free: Freeing > pki. (host_pki = NULL, user_pki = NULL) > > > > BAD GUY (booo, hiss hiss): > debug: SshConfig/sshconfig.c:2232/ssh2_parse_config: Unable to > open /opt/home/ktokash/.ssh2/identification > debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc: > Method 'publickey' disabled. > debug: server offers auth methods > 'publickey,password,keyboard-interactive'. > debug: > Ssh2AuthPasswdClient/authc-passwd.c:95/ssh_client_auth_passwd: > Starting password query... > ktokash@mas01's password: > debug: Ssh2Common/sshcommon.c:286/ssh_common_special: Received > SSH_CROSS_AUTHENTICATED packet from connection protocol. > debug: Ssh2/ssh2.c:646/client_authentication_notify: Returning > user input stream to original values. > scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: > No connection yet. Waiting... > debug: Ssh2Common/sshcommon.c:829/ssh_common_new_channel: > num_channels now 1 > debug: > SshTtyFlags/sshttyflags.c:354/ssh_internal_encode_tty_flags: Not > a tty. (fd = 0) > debug: > Ssh2ChannelSession/sshchsession.c:2232/ssh_channel_start_session_completion2: > starting session failed: result 0 > scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: > No connection yet. Waiting... > scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: > No connection yet. Waiting... > scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: > No connection yet. Waiting... > scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: > No connection yet. Waiting... > scp:SshFCTransfer/sshfc_transfer.c:1592/transfer_stat_before_rm_cb: > No connection yet. Waiting... > ^C > > ===== > ----------------------------------------------------------- > With a few exceptions, secrecy is deeply incompatible with > democracy and with science. > --Carl Sagan > ----------------------------------------------------------- > > __________________________________ > Do you Yahoo!? > Yahoo! Finance: Get your refund fast by filing online. > http://taxes.yahoo.com/filing.html > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > >