Re: problem with sftp & huawei switches

This is a discussion on Re: problem with sftp & huawei switches within the OpenSSH Development forums, part of the Networking and Network Related category; (resend, my previous reply was from a non-subscribed address) On Nov 4, 2007 4:39 AM, Milan Kocian <...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-04-2007
Darren Tucker
 
Posts: n/a
Default Re: problem with sftp & huawei switches

(resend, my previous reply was from a non-subscribed address)

On Nov 4, 2007 4:39 AM, Milan Kocian <milon@wq.cz> wrote:
> I have the problem with sftp, I can't read files and dirs from huawei
> switches. I see:
>
> mm:/home/milon# sftp 10.1.1.30:vrpcfg.cfg .
> Connecting to 10.1.1.30...
> root@10.1.1.30's password:
> Couldn't stat remote file: Operation unsupported
> File "flash:/flash:/vrpcfg.cfg" not found.
> Received disconnect from 10.1.1.30: 2: The connection is closed by
> SSH Server
> Current FSM is SSH_Main_Disconnect


Looks like your switch doesn't support the stat() operation, which
sftp(1) uses before the download and will abort the download if the
stat fails.

You can try this patch, which is against OpenBSD's -current but should
apply to 4.7 and 4.6 as well (and yeah, I know "goto" is bad, this is
the minimum change to test the theory.)

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:50 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0