tomcat - linux new user with sftp to specific folder -


hi have ssh connection server wit root account. want create user named pizza4yu , give access winscp location /home/pi/apache-tomcat-7.0.35 how can ?

chsh -s /bin/bash pizza4yu usermod -d /home/pi/apache-tomcat pizza4yu chown -r pizza4yu:pizza4yu /home/pi/apache-tomcat 

you can use chroot: http://chrootssh.sourceforge.net/


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -