Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ssh at 32bits chrooted environment
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
i42gomoe
n00b
n00b


Joined: 04 Apr 2008
Posts: 5

PostPosted: Fri Nov 21, 2008 6:41 pm    Post subject: [SOLVED] ssh at 32bits chrooted environment Reply with quote

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
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sat Nov 22, 2008 5:17 am    Post subject: Reply with quote

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
View user's profile Send private message
i42gomoe
n00b
n00b


Joined: 04 Apr 2008
Posts: 5

PostPosted: Mon Nov 24, 2008 2:01 pm    Post subject: Reply with quote

Thank you for your fast reply. The problem has been solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum