I was hard on getting Telnet up for some users, and the peeps on this board recommended ssh.
I screwed for hours with ssh and realized that there was ssh1 and ssh2 ( har har hehe ) and that I needed to get ssh2 to do what I wanted to.
I installed ssh2 from
www.ssh.com and got it up and running, I set up my sshd2_config and all, made a lil script to add users to the passwd, group and shadow files - and it works!
I created /etc/skel folder into which I created a /bin folder and compiled bash, fileutils and textutils with the LDFLAGS=-static, I did a ln -s bash sh as per the faq. These are reflected onto the /home/$USERNAME/bin/ when I create a new user.
Users who ssh2 into my box now have access to basic commands, but I
can't get pico to work inside it. I got the pico install files, but there doesn't seem to be a static compile...all I want is to be able to get pico into the user's directory.
Has anyone successfully done this? Am I missing the point somewhere? Can I just copy pico from /usr/sbin/ into my /etc/skel/bin somehow so that it'll end up working? They show in the /home/username/bin folder but don't work at all. It's like they're not there ( but they can be rm'ed ).
Hellppp!
summary: How do I copy apps successfully into a user's ssh2 chrooted environment.
A Tenacious Newbie.