OpenVZ Forum


Home » General » Support » * SOLVED * FC6 Precreated VE and ssh
Re: * SOLVED * FC6 Precreated VE and ssh [message #14059 is a reply to message #13165] Wed, 13 June 2007 16:22 Go to previous message
ahuxley is currently offline  ahuxley
Messages: 1
Registered: June 2007
Junior Member
I had the same problem:

ahuxley@pc012939$ ssh root@loofah pwd
ahuxley@pc012939$


After the posting of a very cut-down /etc/ssh/sshd_config above, I started stripping stuff out of the full version in order to see what the problem was. And amazingly, it was the 'AcceptEnv' statements!

So fix #1 on the ssh client:

ahuxley@pc012939$ unset LC_ALL
ahuxley@pc012939$


or, alternatively, fix #2 on the ssh server:

[root@loofah ssh]# perl -pi -e 's/^(AcceptEnv)/#$1/' /etc/ssh/sshd_config
[root@loofah ssh]# /etc/init.d/sshd restart
Stopping sshd: [ OK ]
Starting sshd: [ OK ]
[root@loofah ssh]#


I suspect that the "right" fix is to set up the locales correctly on the server. I imagine (but didn't check) that the stripped down FC6 template is missing some of this.

Alexis

(PS just posting here 'cos I thought this would be useful for all of you. If you want to ask further questions then I'm unlikely to see it if posted here. Mail me at ahuxley at gmx dot net.)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon10.gif
Read Message
Read Message
Read Message
Previous Topic: Running unixbench
Next Topic: *SOLVED* Nameserver Problem
Goto Forum:
  


Current Time: Mon Jul 15 15:21:51 GMT 2024

Total time taken to generate the page: 0.02390 seconds