<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>ssh2 fails for non EN locale</title> 
  <pubDate>Fri, 10 Apr 2026 04:00:05 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6396</link> 
  <atom:link rel="self" type="application/rss+xml" title="ssh2 fails for non EN locale" href="https://bugs.horde.org/ticket/6396/rss" /> 
  <description>ssh2 fails for non EN locale</description> 
 
   
   
  <item> 
   <title>My server has got an non-us locale and ls therefore does not</title> 
   <description>My server has got an non-us locale and ls therefore does not print the expected date format in VFS/ssh2.php.

Solution: Change 

$stream = @ssh2_exec($this-&gt;_stream, &quot;ls -al &quot;.escapeshellarg($path));

and

$stream = @ssh2_exec($this-&gt;_stream, &quot;ls -l &quot;.escapeshellarg($path));



into 



$stream = @ssh2_exec($this-&gt;_stream, &quot;LC_ALL=C ls -al &quot;.escapeshellarg($path));

and

$stream = @ssh2_exec($this-&gt;_stream, &quot;LC_ALL=C ls -l &quot;.escapeshellarg($path));



This sets the locale to the default and works for me.</description> 
   <pubDate>Fri, 07 Mar 2008 12:36:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6396#t43537</link> 
  </item> 
   
  <item> 
   <title>LC_TIME instead of LC_ALL would be sufficient.</title> 
   <description>LC_TIME instead of LC_ALL would be sufficient.</description> 
   <pubDate>Fri, 07 Mar 2008 12:38:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6396#t43538</link> 
  </item> 
   
  <item> 
   <title>Looks okay to me - committed, thanks!</title> 
   <description>Looks okay to me - committed, thanks!</description> 
   <pubDate>Fri, 07 Mar 2008 22:04:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6396#t43562</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
