Re: convincing ssh:// and ftp:// links to work



On Wed, Apr 07, 2004 at 07:23:43PM +0200, Alexander Larsson wrote:
> On Wed, 2004-04-07 at 18:48, Alan wrote:
> > > > I did notice that after a rebuild of nautilus last night I can open
> > > > ftp://ftp.gnome.org, but not ftp://naked (naked is my internal ftp
> > > > server) or ftp://192.168.2.x.  Loading up ftp.gnome.org was fast and
> > > > worked fine.  
> > > 
> > > Hmmm... Could be a name resolving issue then.
> > 
> > Could be, but the servername naked is in my /etc/hosts file and also
> > available from my local DNS.  If it doesn't work by IP though, does that
> > rule out hostname resolving?
> > 
> > IIRC I had the same problem with accessing ssh:// URIs with 2.4,
> > sometimes it'd work, most times it'd just give me the 'could not log in'
> > error, even though I could login with 'ssh user host' from the command
> > line with no prompts thanks to ssh-keys.
> 
> ssh:// is pretty crappy, please use sftp:// instead.
> Pretty strange that ip addresses didn't work though.
> 
> I commited some better error reporting to cvs. Could you try that out
> and see what happens?

Not sure if this is what you're looking for, but I set it up a bit hacky
way....  not sure if it's picking up the "real" session or not.
However, some of the data spewed to the console includes:

(lt-nautilus:6432): gnome-vfs-modules-WARNING **:
gnome_vfs_inet_connection_create ("192.168.2.100", 0) = "Generic error"

(lt-nautilus:6417): gnome-vfs-modules-WARNING **:
gnome_vfs_inet_connection_create ("192.168.2.100", 0) = "Generic error"

Also there were 'cannot load module
/usr/lib/gnome-vfs-2.0/modules/libsftp.so' when running nautilus
sftp://user server (the file is indeed not there.... libftp is however).
When running './nautilus ftp://user ip' I get

(lt-nautilus:6839): gnome-vfs-modules-WARNING **:
gnome_vfs_inet_connection_create ("192.168.2.4", 0) = "Generic error"


Not sure if that helps at all.  The CVS nautilus didn't give me problems
trying to log in to ssh sites however, while the 2.6.0 did.

These errors maybe because I'm not running a fully CVS gnome install,
only running a CVS nautilus out of a test directory.  Whats the
recommended way to install for cvs testing?  jhbuild? garnome?  by hand?  

alan

-- 
Alan <alan ufies org> - http://arcterex.net
--------------------------------------------------------------------
"There are only 3 real sports: bull-fighting, car racing and mountain 
climbing. All the others are mere games."                -- Hemingway



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]