From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6CCF3E015DB for ; Sun, 4 Aug 2013 04:05:38 -0700 (PDT) Received: from [192.168.2.10] ([217.82.1.43]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MRB8F-1Uc0I343hP-00Ua8A for ; Sun, 04 Aug 2013 13:05:37 +0200 Message-ID: <51FE3580.50909@gmx.de> Date: Sun, 04 Aug 2013 13:05:36 +0200 From: Joerg Boge User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org X-Provags-ID: V03:K0:m2U3ELVpvJ1/VxhPnb4CZIP/vWwzQsU9EnuayAqphUQ6vvSwRiV aqeqJQS9hdBfemQwLzW3BkvmGOEHO1NUMe6+nEGfX2Bw0bRvpmKhJBvZMqjuYymt0OiYb5s fLQxzv7MyQClcPw86SnEnn2Ne0217Uavbhd/OlKR+zr2Q1bey11Ow1MP7zf7OL31oAfHuGU 0F5ApkGx557SJnt/xugtg== Subject: sftp fsl-image-gui X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Aug 2013 11:05:41 -0000 Content-Type: multipart/alternative; boundary="------------000706000600070202030200" --------------000706000600070202030200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, I want to connect via sftp without success. On FAQ openssh.org I find some information about. 2.9 - sftp/scp fails at connection, but ssh is OK. sftp and/or scp may fail at connection time if you have shell initialization (.profile, .bashrc, .cshrc, etc) which produces output for non-interactive sessions. This output confuses the sftp/scp client. You can verify if your shell is doing this by executing: *ssh yourhost /usr/bin/true* If the above command produces any output, then you need to modify your shell initialization. I think that is a major problem witch should be solved generally for the images produced by yocto. So I ask here ;) regards Joerg --------------000706000600070202030200 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello,
I want to connect via sftp without success.

On FAQ openssh.org I find some information about. 

2.9 - sftp/scp fails at connection, but ssh is OK.

sftp and/or scp may fail at connection time if you have shell initialization (.profile, .bashrc, .cshrc, etc) which produces output for non-interactive sessions. This output confuses the sftp/scp client. You can verify if your shell is doing this by executing:

ssh yourhost /usr/bin/true

If the above command produces any output, then you need to modify your shell initialization.


I think that is a major problem witch should be solved generally for the images produced by yocto.


So I ask here ;)

regards

Joerg

--------------000706000600070202030200-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D0D63E00747 for ; Sun, 4 Aug 2013 12:07:35 -0700 (PDT) Received: by mail-oa0-f51.google.com with SMTP id h1so4646090oag.38 for ; Sun, 04 Aug 2013 12:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Az63labCE1QSJbJekOd2wYmR5PM4DswiOByqtURci4I=; b=bujStJKbaW/OWJaJg3RIi9Z+O5mqNraWpYzPe8RMFhINt0euiU3RYN/HjfYPXYok8z xy6YMDaSMe806mrUm4aPtQmxFzZ4HwDSf1vcljvUtY04QghOy52Q8LZ2euLsC55jLvok RncOBptikeRi2SZHe0yZUrLuDiJgkRZec1oRQeuWjlRv19+Fd9pEE4pHLu7rH+DgA7rn Unj6D0T6gzvkysRgF0m+RKzFFD9vMD1X9iEzA13LtVVWXt+5QKqJQWhbXsiPH2IKTG6L 6yj8a8xEtRBx2pcMeCZ90d/EU916OdxDEZQVLMlPUvjieLuvsZlzjfHoXe+xWojHzUlJ sL2Q== MIME-Version: 1.0 X-Received: by 10.60.96.131 with SMTP id ds3mr5323086oeb.50.1375643254607; Sun, 04 Aug 2013 12:07:34 -0700 (PDT) Sender: otavio.salvador@gmail.com Received: by 10.182.232.166 with HTTP; Sun, 4 Aug 2013 12:07:34 -0700 (PDT) In-Reply-To: <51FE3580.50909@gmx.de> References: <51FE3580.50909@gmx.de> Date: Sun, 4 Aug 2013 16:07:34 -0300 X-Google-Sender-Auth: WpediXQpf1DGE9hSz85Q_DJz_IU Message-ID: From: Otavio Salvador To: Joerg Boge Cc: "meta-freescale@yoctoproject.org" Subject: Re: sftp fsl-image-gui X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Aug 2013 19:07:36 -0000 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Aug 4, 2013 at 8:05 AM, Joerg Boge wrote: > I want to connect via sftp without success. > > On FAQ openssh.org I find some information about. > > 2.9 - sftp/scp fails at connection, but ssh is OK. > > sftp and/or scp may fail at connection time if you have shell initialization > (.profile, .bashrc, .cshrc, etc) which produces output for non-interactive > sessions. This output confuses the sftp/scp client. You can verify if your > shell is doing this by executing: > > ssh yourhost /usr/bin/true > > If the above command produces any output, then you need to modify your shell > initialization. > > > I think that is a major problem witch should be solved generally for the > images produced by yocto. We need more information about the issue. Are you using OpenSSH / Dropbear? Please reproduce it with an smaller image (core-image-base) so we can really see what's going on and work to fix it. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C2159E00747 for ; Sun, 4 Aug 2013 12:36:42 -0700 (PDT) Received: from [192.168.2.10] ([217.82.1.43]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M2cDB-1UEMzV3rbJ-00sKm2 for ; Sun, 04 Aug 2013 21:36:41 +0200 Message-ID: <51FEAD49.80700@gmx.de> Date: Sun, 04 Aug 2013 21:36:41 +0200 From: Joerg Boge User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Otavio Salvador , meta-freescale@yoctoproject.org References: <51FE3580.50909@gmx.de> In-Reply-To: X-Provags-ID: V03:K0:5xJNJUR8ejiR8NkuxptMunA16+oy8Gi02puOgGp6wo1HrNZPc/L 1/F/WEq5cZ8bqncZAv5xBtf2rllpap0GTPTmqUNwZzv5MeN/LKClMiOz4QirVBh9srNecsh w/DAe/VO6Goxh8+uPC9xl2oIar8tNVTNcDKwaLUjyXfKzDQl3zNQiUk5TdNnmM1apJiryWp XluHlyhkYjFLYrM/n3rmQ== Subject: Re: sftp fsl-image-gui X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Aug 2013 19:36:44 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 08/04/2013 09:07 PM, Otavio Salvador wrote: > On Sun, Aug 4, 2013 at 8:05 AM, Joerg Boge wrote: >> I want to connect via sftp without success. >> >> On FAQ openssh.org I find some information about. >> >> 2.9 - sftp/scp fails at connection, but ssh is OK. >> >> sftp and/or scp may fail at connection time if you have shell initialization >> (.profile, .bashrc, .cshrc, etc) which produces output for non-interactive >> sessions. This output confuses the sftp/scp client. You can verify if your >> shell is doing this by executing: >> >> ssh yourhost /usr/bin/true >> >> If the above command produces any output, then you need to modify your shell >> initialization. >> >> >> I think that is a major problem witch should be solved generally for the >> images produced by yocto. > We need more information about the issue. Are you using OpenSSH / Dropbear? > > Please reproduce it with an smaller image (core-image-base) so we can > really see what's going on and work to fix it. > EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh" it is the same on core-image-base dropbear also not work, but I think that could be normal, not sure that sftp is implemented on dropbear From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f43.google.com (mail-oa0-f43.google.com [209.85.219.43]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 911B3E00747 for ; Sun, 4 Aug 2013 12:59:15 -0700 (PDT) Received: by mail-oa0-f43.google.com with SMTP id i10so4786077oag.30 for ; Sun, 04 Aug 2013 12:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=n4/6ovi09VFNawaJdSmblN8Je/nxRr4mlc6ZVVletZE=; b=wV2f/9mQ0Uos8zmYvlHXCJh3DyI9x19yQxbIIZdAL5R/VVkygOPl364zBKN6Fa/drt ukvKkRVF6osTKXlW3wgRfDwvIfLLxhNwfk7QkGss2V7bPmjwaVF7HzIi0kekgi3s11r8 qi9x56Clqx0Zp7Dl14phQk71cUi8iW1pUmjk40+x97Q7oaTTKlPGqco8SLYd/mXic06R cGWMphiI8X7OJzjrUXCmFG5KWZWGryVWzyVvx8f+C7sXXI/MxjOUynVaOsVOPtwD5PHC qq/oeGdXhafmaE2mIZWRQZf567ir5326DHV5Vb+wTzNwFuT+FSnGn8cfs7b9LaBqDwuW gh2A== MIME-Version: 1.0 X-Received: by 10.60.96.169 with SMTP id dt9mr2390583oeb.27.1375646354504; Sun, 04 Aug 2013 12:59:14 -0700 (PDT) Sender: otavio.salvador@gmail.com Received: by 10.182.232.166 with HTTP; Sun, 4 Aug 2013 12:59:14 -0700 (PDT) In-Reply-To: <51FEAD49.80700@gmx.de> References: <51FE3580.50909@gmx.de> <51FEAD49.80700@gmx.de> Date: Sun, 4 Aug 2013 16:59:14 -0300 X-Google-Sender-Auth: rYkZznTpjs0rSrJLs5_lvL0krhU Message-ID: From: Otavio Salvador To: Joerg Boge Cc: "meta-freescale@yoctoproject.org" Subject: Re: sftp fsl-image-gui X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Aug 2013 19:59:15 -0000 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Aug 4, 2013 at 4:36 PM, Joerg Boge wrote: > EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh" > > it is the same on core-image-base > > dropbear also not work, but I think that could be normal, not sure that sftp > is implemented on dropbear Great; please report it in bugzilla and later send an e-mail to OE-Core mailing list. This is not a BSP issue then ;-) -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CAFF2E00747 for ; Sun, 4 Aug 2013 14:02:10 -0700 (PDT) Received: from [192.168.2.10] ([217.82.1.43]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MZgdm-1UkaHX1lVO-00LSjr for ; Sun, 04 Aug 2013 23:02:09 +0200 Message-ID: <51FEC151.50907@gmx.de> Date: Sun, 04 Aug 2013 23:02:09 +0200 From: Joerg Boge User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Otavio Salvador References: <51FE3580.50909@gmx.de> <51FEAD49.80700@gmx.de> In-Reply-To: X-Provags-ID: V03:K0:75qK2FhLtj4gTUGbhRho/kynAocubVQcdsW4GrO3L4T3mZ8ft4a +Itdg2RFiLDbAwK3h8ziimg/sc+DfmM9JiiAXvEQk1VkTYpUpTmch5vJQMqsLhNUx3bUB5u 5SJ6fzYsiAI8fnhp+shg8pq1krpb/CCyEYij5iXBQ4M+xVfdjaB6h4Lk3JEMHYysHz7Oqq4 8SltXM2l5B7IXoXVTwL/Q== Cc: "meta-freescale@yoctoproject.org" Subject: Re: sftp fsl-image-gui X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Aug 2013 21:02:17 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 08/04/2013 09:59 PM, Otavio Salvador wrote: > On Sun, Aug 4, 2013 at 4:36 PM, Joerg Boge wrote: >> EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh" >> >> it is the same on core-image-base >> >> dropbear also not work, but I think that could be normal, not sure that sftp >> is implemented on dropbear > Great; please report it in bugzilla and later send an e-mail to > OE-Core mailing list. This is not a BSP issue then ;-) > sure on core-image-sato-sdk it works ! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E8CC7E003D4 for ; Mon, 5 Aug 2013 10:06:34 -0700 (PDT) Received: from [192.168.2.33] ([217.82.33.115]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LoEcP-1UQ9Wj3WDB-00gHbw for ; Mon, 05 Aug 2013 19:06:33 +0200 Message-ID: <51FFDB95.8070908@gmx.de> Date: Mon, 05 Aug 2013 19:06:29 +0200 From: Joerg boge User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Otavio Salvador References: <51FE3580.50909@gmx.de> <51FEAD49.80700@gmx.de> In-Reply-To: X-Provags-ID: V03:K0:mveLVgunhSpAKtydgMaVopab3sqFgvMxu/GckgiSOOxL50vgTSw byOE+vjN6aLAoxpBlQX4QkUIunDuisKhbDccMb12doWrPfyQh76pdNcmjPZku93se1f+y5n FwNV/B/alohlqhPNEBbHjhCW8I5i4LSjMCxVHe+8CODU9mj+nSQrbxrCD9R+AUVW0YBgg9I QjX2ypM5etAdqhNZWNV+w== Cc: "meta-freescale@yoctoproject.org" Subject: Re: sftp fsl-image-gui X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2013 17:06:35 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Am 04.08.2013 21:59, schrieb Otavio Salvador: > On Sun, Aug 4, 2013 at 4:36 PM, Joerg Boge wrote: >> EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh" >> >> it is the same on core-image-base >> >> dropbear also not work, but I think that could be normal, not sure that sftp >> is implemented on dropbear > Great; please report it in bugzilla and later send an e-mail to > OE-Core mailing list. This is not a BSP issue then ;-) > Otavio You still think it is not a BSP issue? It works well on core-image-sato-sdk From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5B698E003D4 for ; Mon, 5 Aug 2013 10:07:58 -0700 (PDT) Received: by mail-oa0-f44.google.com with SMTP id l20so6832928oag.31 for ; Mon, 05 Aug 2013 10:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=mfUqKDnV6b9hhgVxFkgR6IIOgyLlofd7ukm5hODuGIA=; b=FdKTCK7u6Y8M0/K/1z0wSLin90JHfRtMyCwCpuZj7wOMGuS57LyHzAZYlv+mSsG+pl xeSeouvGOGS8+tIbftQ25FlVhhsMME2NjjM/9hohRyUDYds3xpIzLmGUIVhebiMAgu5a 8qhSCBkyH2FDxbFzV6Mead0qXSo+WNlI2CHlOCOQMN3iH0e4wc0deRL1OkcZDKSgNOas I6fVbuFFdCtG/BYR7YVciUqqNBzzwBVLfv3aQGsCyh8jrgrWimHhKcow/sS7sxX9avwJ ONO5ssAFxF4nb/b6+tT5axN6o9Vpx7HeboT6+pbXmskWIY+u+Zb3MjR1+Xl6TvBV7z1b GmyA== MIME-Version: 1.0 X-Received: by 10.182.27.74 with SMTP id r10mr15098562obg.63.1375722478525; Mon, 05 Aug 2013 10:07:58 -0700 (PDT) Sender: otavio.salvador@gmail.com Received: by 10.182.232.166 with HTTP; Mon, 5 Aug 2013 10:07:58 -0700 (PDT) In-Reply-To: <51FFDB95.8070908@gmx.de> References: <51FE3580.50909@gmx.de> <51FEAD49.80700@gmx.de> <51FFDB95.8070908@gmx.de> Date: Mon, 5 Aug 2013 14:07:58 -0300 X-Google-Sender-Auth: bRSbR8QAGhyTruW5u8E3A8xoVSM Message-ID: From: Otavio Salvador To: Joerg boge Cc: "meta-freescale@yoctoproject.org" Subject: Re: sftp fsl-image-gui X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2013 17:07:59 -0000 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Aug 5, 2013 at 2:06 PM, Joerg boge wrote: > Am 04.08.2013 21:59, schrieb Otavio Salvador: > >> On Sun, Aug 4, 2013 at 4:36 PM, Joerg Boge wrote: >>> >>> EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh" >>> >>> it is the same on core-image-base >>> >>> dropbear also not work, but I think that could be normal, not sure that >>> sftp >>> is implemented on dropbear >> >> Great; please report it in bugzilla and later send an e-mail to >> OE-Core mailing list. This is not a BSP issue then ;-) >> > Otavio You still think it is not a BSP issue? It works well on > core-image-sato-sdk If it does not work with core-image-base, this is not a BSP issue. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750