[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [gftp] Settings question
- To: gftp-users@seul.org
- Subject: Re: [gftp] Settings question
- From: Brian Masney <masneyb@gftp.org>
- Date: Thu, 8 Jan 2004 14:00:11 -0500
- Delivered-to: archiver@seul.org
- Delivered-to: gftp-users-outgoing@seul.org
- Delivered-to: gftp-users@seul.org
- Delivery-date: Thu, 08 Jan 2004 14:00:27 -0500
- In-reply-to: <20040108185833.89F0B33C0B@moria.seul.org>
- References: <20040108185833.89F0B33C0B@moria.seul.org>
- Reply-to: gftp-users@seul.org
- Sender: owner-gftp-users@seul.org
- User-agent: Mutt/1.5.4i
Yes, download the gftp 2.0.16 source code and edit lib/sshv2.c and around line
241, you will see this:
sshv2_add_exec_args (&logstr, &logstr_len, &args, &args_len, &args_cur,
" -e none");
Remove it entirely and then recompile. With this option off, you will be able to
connect and transfer files, but you will eventually run into problems with file
transfers stalling.
I still don't see what this option is hurting. If you are getting the "Error:
Message size 1483499874 too big from server" message when you connect, then your
sftp-server binary is not in your path. gftp has an option to specify the
sftp-server path on the remote server. You can even specify a different path on
a per bookmark basis.
Brian
On Thu, Jan 08, 2004 at 01:33:18PM -0500, Janyne Kizer wrote:
> The thing is, this doesn't happen just on some servers, it happens on
> all servers (not just ones that we administer) and we cannot necessarily
> control what is in the path on the remote server. Also, this problem is
> not based on the ID. In other words, ID xyz can log in from an NCD HMX
> and connect to the server just fine but the same ID (xyz) cannot use
> gftp to connect to a remote server if logged on from and NCD Thinstar.
> Finally, the ssh -e none option hangs from the command line on this
> hardware as well. I would really like the ability to turn that option
> off. Is there any way that this can be done by hand?
>
> On 1/8/2004 1:18 PM, Brian Masney wrote:
> >See http://www.gftp.org/faq.html and that will explain how to fix that
> >message
> >you are seeing. Also, if you aren't using version 2.0.16, I would suggest
> >upgrading to that version. It will give you more informative error
> >messages.
> >
> >You want the '-e none' option. If you transfer a file that has the escape
> >sequences listed below, you will run into problems.
> >
> >From manpage of ssh(1):
> >
> > A single tilde character can be sent as ~~ or by following the tilde
> > by a
> >character other than those described below. The escape
> > character must always follow a newline to be interpreted as special.
> > The
> >escape character can be changed in configuration files
> > using the EscapeChar configuration directive or on the command line
> > by the
> >-e option.
> >
> > The supported escapes (assuming the default '~') are:
> >
> > ~. Disconnect
> >
> > ~^Z Background ssh
> >
> > ~# List forwarded connections
> >
> > ~& Background ssh at logout when waiting for forwarded
> > connection /
> >X11 sessions to terminate
> >
> > ~? Display a list of escape characters
> >
> > ~C Open command line (only useful for adding port forwardings
> > using
> >the -L and -R options)
> >
> > ~R Request rekeying of the connection (only useful for SSH
> > protocol
> >version 2 and if the peer supports it)
> >
> >Brian
> >
> >
> >
> >On Thu, Jan 08, 2004 at 12:57:28PM -0500, Janyne Kizer wrote:
> >
> >>Is there a way to turn change the parameters that gFTP passes? I see
> >>that it is using "ssh -e none" and I would like it not to do that. Some
> >>of our terminals (the newer Thinstars in this case) don't handle that
> >>parameter even from the command line. Is there a way to force a
> >>different setting?
> >>
> >>We are using Red Hat 9 with a multiuser, thin client setup. We have
> >>tried that latest three versions of gFTP but to no avail. We think that
> >>the problem is the "-e none" setting but we are open to other suggestions.
> >>
> >>The error that we are seeing is:
> >>
> >>Error: Message size 1483499874 too big from server
> >>--
> >>
> >>Janyne Kizer
> >>Systems Programmer Administrator
> >>NC State University, College of Agriculture & Life Sciences
> >>Extension Information Technology
> >>
> >>
>
> --
>
> Janyne Kizer
> Systems Programmer Administrator
> NC State University, College of Agriculture & Life Sciences
> Extension Information Technology
>
>