Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
cancel
Showing results for 
Search instead for 
Did you mean: 

ssh limitation

yulianto piyut
Valued Contributor

ssh limitation

hi all,

how to limit ssh connection, user cann't ssh but can do sftp and scp.

-yut-
2 REPLIES
Johnson Punniyalingam
Honored Contributor

Re: ssh limitation

you can create dummy ssh shell.

please check below thread.

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1260286965908+28353475&threadId=1018575
Problems are common to all, but attitude makes the difference
Steven E. Protter
Exalted Contributor

Re: ssh limitation

Shalom,

If the shell for the user is invalid, it will prevent ssh login. You may look into using chroot, which provides you an additonal layer of security. In a chroot environment, if you don't set up ssh shell, ssh won't work

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