# SSH command doesn't read all the variables after SP Update

**URL:** <https://forums.suse.com/t/ssh-command-doesnt-read-all-the-variables-after-sp-update/25225>\
**Category:** SLES Updates\
**Created:** [March 7, 2014, 10:55am UTC](https://forums.suse.com/t/ssh-command-doesnt-read-all-the-variables-after-sp-update/25225 "2014-03-07T10:55:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwleecw](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@cwleecw](https://forums.suse.com/u/cwleecw)\
**Post date:** [March 7, 2014, 10:55am UTC](https://forums.suse.com/t/ssh-command-doesnt-read-all-the-variables-after-sp-update/25225/1 "2014-03-07T10:55:09Z")

</div>

Hello all,

We updated the OS from SLE 10 SP2 to SLE 10 SP4 in order to utilize chroot in SFTP.  
[http://www.novell.com/support/kb/doc.php?id=7009112](http://www.novell.com/support/kb/doc.php?id=7009112)

However, the command “ssh env” is missing a lot of environment variables AFTER the update.  
(The command is essential in our controlled environment)

When we were on SP2,  
root@fitl05v140:/root \> rpm -qa | grep ssh  
openssh-4.2p1-18.36

When we are now on SP4,  
root@fitl05v140:/root \> rpm -qa | grep ssh  
openssh-5.1p1-41.8.20

I guess this is related to this particular openssh package. Does anyone have any experiences on it ?

Thanks.

Regards,  
Chi Wo

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [March 7, 2014, 1:08pm UTC](https://forums.suse.com/t/ssh-command-doesnt-read-all-the-variables-after-sp-update/25225/2 "2014-03-07T13:08:07Z")

</div>

Have you looked at, and compared, the AcceptEnv settings within  
/etc/ssh/sshd\_config to see how/if they have changed? From my openSUSE  
laptop I have these defaults:

## Code:

## AcceptEnv LANG LC\_CTYPE LC\_NUMERIC LC\_TIME LC\_COLLATE LC\_MONETARY LC\_MESSAGES AcceptEnv LC\_PAPER LC\_NAME LC\_ADDRESS LC\_TELEPHONE LC\_MEASUREMENT AcceptEnv LC\_IDENTIFICATION LC\_ALL

Also in /etc/ssh/ssh\_config compare the SendEnv parameters.

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [March 7, 2014, 6:39pm UTC](https://forums.suse.com/t/ssh-command-doesnt-read-all-the-variables-after-sp-update/25225/3 "2014-03-07T18:39:12Z")

</div>

On 07/03/2014 09:04, cwleecw wrote:  
[color=blue]

> We updated the OS from SLE 10 SP2 to SLE 10 SP4 in order to utilize  
> chroot in SFTP.  
> [http://www.novell.com/support/kb/doc.php?id=7009112](http://www.novell.com/support/kb/doc.php?id=7009112)
> 
> However, the command “ssh env” is missing a  
> lot of environment variables AFTER the update.  
> (The command is essential in our controlled environment)
> 
> When we were on SP2,  
> root@fitl05v140:/root \> rpm -qa | grep ssh  
> openssh-4.2p1-18.36
> 
> When we are now on SP4,  
> root@fitl05v140:/root \> rpm -qa | grep ssh  
> openssh-5.1p1-41.8.20
> 
> I guess this is related to this particular openssh package. Does anyone  
> have any experiences on it ?[/color]

How did you update the OS? From your post I’m thinking you went from  
SLE(S)10 SP2 directly to SLE(S)10 SP4 and not via SLE(S)10 SP3.

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.
