View previous topic :: View next topic |
Author |
Message |
i42gomoe n00b
Joined: 04 Apr 2008 Posts: 5
|
Posted: Fri Nov 21, 2008 6:41 pm Post subject: [SOLVED] ssh at 32bits chrooted environment |
|
|
Hi,
I have a 64 bits system. Then I create a 32 chroot environment to execute some 32 bits programs.
When I make a ssh connection to localhost from the chrooted 32 bits environment(I have configured the sshd_config file with the chroot directory) I get a 64 bits environment instead of 32 bits one.
How can I get a 32 bits environment?
Does anyone know if is it executed any command or script file(like .bashrc...) when a ssh connection is made?
Last edited by i42gomoe on Mon Nov 24, 2008 1:58 pm; edited 1 time in total |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sat Nov 22, 2008 5:17 am Post subject: |
|
|
i42gomoe wrote: | How can I get a 32 bits environment? | You could run a separate sshd in under a chroot listening on a different port.
i42gomoe wrote: | Does anyone know if is it executed any command or script file(like .bashrc...) when a ssh connection is made? | By default the users regular shell is executed, with all that implies. |
|
Back to top |
|
|
i42gomoe n00b
Joined: 04 Apr 2008 Posts: 5
|
Posted: Mon Nov 24, 2008 2:01 pm Post subject: |
|
|
Thank you for your fast reply. The problem has been solved. |
|
Back to top |
|
|
|