Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-23 Thread Willie Wong
On Tue, Sep 22, 2009 at 11:41:52PM -0400, Penguin Lover Philip Webb squawked:
   debug1: Remote protocol version 1.5, remote software version 1.2.17
   debug1: no match: 1.2.17
   Protocol major versions differ: 2 vs. 1
   Couldn't read packet: Connection reset by peer
 
 It looks as if the U server has an earlier version of the software.
 
Egads, this is U Toronto? Still using ssh-1? 

SSH-1 does not have the concept of subsystems, so while your version
of ssh and scp can communicate with the ssh server at the other end,
you cannot 'pass to subsystem sftp'... 

Whay you need to do, assuming that you university is using a version
of ssh that bundles with an sftp-server, but NOT ssh-2, is to first

1. ssh into the server in question.
2. track down the path to the sftp server binary. In gentoo with
openssh it is /usr/lib/misc/sftp-server. 
3. Try running sftp with the flag '-s path-to-sftp-server-binary' the
path should be the absolute path on the remote machine. 

Alternatively, ask your IT people about sftp. They should be able to
tell you if it is possible to be used. And if not, tell them to
upgrade to ssh-2 already. :)

W

-- 
(04:01:59) W: yep
(04:02:02) W: I love linux
(04:02:15) NJYWT: I love penguins
Sortir en Pantoufles: up 1020 days,  7:15



Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-23 Thread Stroller


On 23 Sep 2009, at 09:33, Willie Wong wrote:
On Tue, Sep 22, 2009 at 11:41:52PM -0400, Penguin Lover Philip Webb  
squawked:

  ...
It looks as if the U server has an earlier version of the software.



Egads, this is U Toronto? Still using ssh-1?


I read it as only indicating that the /home/purslow/.ssh/id_[dr]sa  
files in the user's home directory were type 1.


I'm not clear whether these are in the home directory on the client or  
on the server, but I wonder if deleting them (`mv ~/.ssh ~/.ssh.old`)  
might allow one to make a ssh2 connection (using a password initially).


Stroller.




Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-23 Thread Philip Webb
090923 Willie Wong wrote:
 On Tue, Sep 22, 2009 at 11:41:52PM -0400, Penguin Lover Philip Webb squawked:
 It looks as if the U server has an earlier version of the software.
 Egads, this is U Toronto? Still using ssh-1? 

It's IRIX 5.3  seems to be left with minimal maintenance (it works).

 SSH-1 does not have the concept of subsystems,
 so while your version of ssh and scp can communicate with the ssh server
 at the other end, you cannot 'pass to subsystem sftp'... 
 Assuming it is using a version of ssh that bundles with an sftp-server,
 but NOT ssh-2, you need to 1. ssh into the server in question;
 2. track down the path to the sftp server binary:
 in Gentoo with openssh it is /usr/lib/misc/sftp-server;

There's no dir 'misc' in  /usr/lib  on the remote machine nor a 'ssh'.
 
 3. Try running sftp with the flag '-s path-to-sftp-server-binary'
 ie the absolute path on the remote machine. 

In reply to Stroller, all I have in  ~/.ssh  is 'known_hosts',
which does allow successful connection to the remote machine.

That's just to respond to both your kind helps (big smiles).
I checked the CHASS WWW site  it contained an Ssh access link;
when I logged in, the system was IRIX64 6.5  the hostname different.
Armed with that knowledge, I tried again with the new hostname
 succeeded with Sftp from CLI  from Krusader  with Fish from Krusader !
So something did change from Krusader 1.80.0 - 2.0.0 
-- perhaps no longer guessing a hostname if it's not found at once -- ,
but if I enter the (now known) correct hostname everything works as of old.

Thanks again for your advice.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-22 Thread Neil Bothwick
On Mon, 21 Sep 2009 23:32:56 -0400, Philip Webb wrote:

  I can connect with Krusader on KDE 4.3.1
  but fish:// has been broken in KDE 3.5 for quite some time.  
 
 No problem with 3.5.10 a week ago, before I installed 4.3.1 ,
 but since then neither will connect.

Maybe they fixed it recently, I know I had problems with 3.5.10 a while
ago, and Google came up with plenty of it's broken hits.

  You can use sftp:// instead of fish,
  the functionality is similar and STFP has continued working.  
 
 In Krusader, it fails with an error box saying 
 'Unknown error, unexpected SFTP error: 8'.
 
 From CLI it also fails with

It sounds like you may have STFP disabled in your sshd_config.


-- 
Neil Bothwick

Angular Momentum Makes The World Go 'Round


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-22 Thread Philip Webb
090922 Neil Bothwick wrote:
 It sounds like you may have STFP disabled in your sshd_config.

From that file :

  # override default of no subsystems
  Subsystem   sftp/usr/lib64/misc/sftp-server

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-22 Thread Neil Bothwick
On Tue, 22 Sep 2009 04:06:27 -0400, Philip Webb wrote:

  It sounds like you may have STFP disabled in your sshd_config.  
 
 From that file :
 
   # override default of no subsystems
   Subsystem   sftp/usr/lib64/misc/sftp-server

What do the logs on the server show when you try to connect?


-- 
Neil Bothwick

Stupid user error. Terminate user (Y/n) ?


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-22 Thread Philip Webb
090922 Neil Bothwick wrote:
 On Tue, 22 Sep 2009 04:06:27 -0400, Philip Webb wrote:
 It sounds like you may have STFP disabled in your sshd_config.  
 From that file :
   # override default of no subsystems
   Subsystem   sftp/usr/lib64/misc/sftp-server
 What do the logs on the server show when you try to connect?

I'm logging into one of my accounts on a university system,
so AFAIK I have no access to their logs.
I don't see anything in my own  /var/log ,
but perhaps it's somewhere else: any suggestions ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-22 Thread Neil Bothwick
On Tue, 22 Sep 2009 18:18:15 -0400, Philip Webb wrote:

  From that file :
# override default of no subsystems
Subsystem   sftp/usr/lib64/misc/sftp-server  
  What do the logs on the server show when you try to connect?  
 
 I'm logging into one of my accounts on a university system,
 so AFAIK I have no access to their logs.

Then how did you access the sshd_config? Or were you looking at the file
on the client? This file is used to configure the server. The easiest way
to tell should be to ask the admins if SFTP access is permitted.


-- 
Neil Bothwick

We've all heard that a million monkeys banging on a million
typewriters will eventually reproduce the works of Shakespeare.
Now, thanks to the Internet, we know this is not true.


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-22 Thread Willie Wong
On Tue, Sep 22, 2009 at 06:18:15PM -0400, Penguin Lover Philip Webb squawked:
 090922 Neil Bothwick wrote:
  On Tue, 22 Sep 2009 04:06:27 -0400, Philip Webb wrote:
  It sounds like you may have STFP disabled in your sshd_config.  
  From that file :
# override default of no subsystems
Subsystem   sftp/usr/lib64/misc/sftp-server
  What do the logs on the server show when you try to connect?
 
 I'm logging into one of my accounts on a university system,
 so AFAIK I have no access to their logs.
 I don't see anything in my own  /var/log ,
 but perhaps it's somewhere else: any suggestions ?

Try running sftp with the -vv flag the make it extra verbose. 
It should tell you in more detail what the error is. 

W
-- 
The way to a man's heart is through the left ventricle.
Sortir en Pantoufles: up 1019 days, 22:21



Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-22 Thread Philip Webb
090922 Willie Wong wrote:
 Try running sftp with the -vv flag the make it extra verbose. 
 It should tell you in more detail what the error is. 

Thanks.  This is what it says :

  516: ~ sftp -vv hostname
  Connecting to hostname...
  OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
  debug1: Reading configuration data /etc/ssh/ssh_config
  debug2: ssh_connect: needpriv 0
  debug1: Connecting to hostname [nnn.nnn.nnn.n] port 22.
  debug1: Connection established.
  debug1: identity file /home/purslow/.ssh/id_rsa type -1
  debug1: identity file /home/purslow/.ssh/id_dsa type -1
  debug1: Remote protocol version 1.5, remote software version 1.2.17
  debug1: no match: 1.2.17
  Protocol major versions differ: 2 vs. 1
  Couldn't read packet: Connection reset by peer

It looks as if the U server has an earlier version of the software.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-21 Thread Neil Bothwick
On Sun, 20 Sep 2009 22:13:37 -0400, Philip Webb wrote:

 Krusader can no longer connect to a remote site via 'fish://';
 in fact Krusader 1.80.0 (with KDE 3.5.10) won't do it anymore either.

I can connect with Krusader on KDE 4.3.1 but fish:// has been broken in
KDE 3.5 for quite some time.

 I can connect to the site via 'ssh' from the CLI.
 Does anyone have suggestions ?

You can use sftp:// instead of fish, the functionality is similar and
STFP has continued working.


-- 
Neil Bothwick

the sum of all human intelligence is constant, only the number of humans
increases.


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-21 Thread Volker Armin Hemmann
On Montag 21 September 2009, Philip Webb wrote:
 More progress/problems with KDE 4.3.1 .
 
 Gwenview is refusing to show thumbnails of images, which showed in 3.5.10 .
 They seem to be small images: has anyone else experienced this ?

no - and could you please rephrase your question?

it does show little images, but you are missing thumbnails which are little 
images?



Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-21 Thread Philip Webb
090921 Volker Armin Hemmann wrote:
 On Montag 21 September 2009, Philip Webb wrote:
 Gwenview is refusing to show thumbnails of images, which showed in 3.5.10 .
 They seem to be small images: has anyone else experienced this ?
 it does show little images,
 but you are missing thumbnails which are little images?

The thumbnails are missing for some images, for which thumbnails appear
properly in Gwenview (for) 3.5.10 .  I've found the cause:
'properties' says they are 'jpeg', but that their content is 'gif',
so changing the extension to '.gif' cures the disorder.

I'm not sure this is progress: the Unix way is to use extensions as a guide,
but process files according to their identified content;
Gwenview 4.3.1 seems to be following the M$ approach of obeying extensions.
Anyway, it's solvable with some renaming: more fun with Thunar (grin) !

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-21 Thread Volker Armin Hemmann
On Montag 21 September 2009, Philip Webb wrote:
 090921 Volker Armin Hemmann wrote:
  On Montag 21 September 2009, Philip Webb wrote:
  Gwenview is refusing to show thumbnails of images, which showed in
  3.5.10 . They seem to be small images: has anyone else experienced this
  ?
 
  it does show little images,
  but you are missing thumbnails which are little images?
 
 The thumbnails are missing for some images, for which thumbnails appear
 properly in Gwenview (for) 3.5.10 .  I've found the cause:
 'properties' says they are 'jpeg', but that their content is 'gif',
 so changing the extension to '.gif' cures the disorder.
 
 I'm not sure this is progress: the Unix way is to use extensions as a
  guide, but process files according to their identified content;
 Gwenview 4.3.1 seems to be following the M$ approach of obeying extensions.
 Anyway, it's solvable with some renaming: more fun with Thunar (grin) !
 

I would file a bug report with kde. You are right, apps should look for the 
magic number, not some stupid extension.



Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-21 Thread Philip Webb
090921 Neil Bothwick wrote:
 On Sun, 20 Sep 2009 22:13:37 -0400, Philip Webb wrote:
 Krusader can no longer connect to a remote site via 'fish://';
 in fact Krusader 1.80.0 (with KDE 3.5.10) won't do it anymore either.
 I can connect to the site via 'ssh' from the CLI.
 I can connect with Krusader on KDE 4.3.1
 but fish:// has been broken in KDE 3.5 for quite some time.

No problem with 3.5.10 a week ago, before I installed 4.3.1 ,
but since then neither will connect.

 You can use sftp:// instead of fish,
 the functionality is similar and STFP has continued working.

In Krusader, it fails with an error box saying 
'Unknown error, unexpected SFTP error: 8'.

From CLI it also fails with

  501: ~ sftp hostname
Connecting to hostname...
Protocol major versions differ: 2 vs. 1
Couldn't read packet: Connection reset by peer

I can do what I need (uploading files) via 'ssh' + 'scp' as easily,
but it's a good thing to track down the causes of errors  report bugs.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-20 Thread Philip Webb
More progress/problems with KDE 4.3.1 .

Gwenview is refusing to show thumbnails of images, which showed in 3.5.10 .
They seem to be small images: has anyone else experienced this ?

Krusader can no longer connect to a remote site via 'fish://';
in fact Krusader 1.80.0 (with KDE 3.5.10) won't do it anymore either.
I can connect to the site via 'ssh' from the CLI.
Does anyone have suggestions ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca