Operating System - HP-UX
1832489 Members
4162 Online
110043 Solutions
New Discussion

ssh login restriction using chroot

 
Md. Shafiullah
Advisor

ssh login restriction using chroot

I want to create a user who will be chrooted to his home directory when he logs in using ssh. I searched the web, some suggested to use the ssh_chroot_setup.sh script. But there is no such as script in my /opt/ssh/ directory. Can anyone send me the ssh_chroot_setup.sh script as attachment? My yahoo email is shafi652@yahoo.com
4 REPLIES 4
Arunvijai_4
Honored Contributor

Re: ssh login restriction using chroot

Hi,

Which version of secure shell you are running ?
# swlist |grep -i secure will list you.

I have A.04.20.004 which has ssh_chroot_setup.sh in /opt/ssh.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steven E. Protter
Exalted Contributor

Re: ssh login restriction using chroot

Shalom,

Any user profile can be chrooted.

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA

Script is here.

Advice section:
Unless you like spam, don't post your email address here. This site is indexed by google and many other search engines. In case you were not aware, email addresses on public forums is how the spammers get their data.

You can have your poste edited.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1032434

Post a request at the issues thread above.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Md. Shafiullah
Advisor

Re: ssh login restriction using chroot

Hi i have

OpenSSL A.00.09.07-d.002 Secure Network Communications Protocol

T1471AA A.03.61.002 HP-UX Secure Shell


in my computer
Md. Shafiullah
Advisor

Re: ssh login restriction using chroot

Hi Arun,

Pleae attach your script with the reply.

Shafi