Aug 29, 2008 #1 TSch Technical User Joined Jul 12, 2001 Messages 557 Location DE Hi folks, I created a user that's not supposed to be able to login via telnet or ssh but it IS supposed to be able to sftp to the system ... Is there any way to restrict a user from connecting via anything but sftp ? Regards Thomas
Hi folks, I created a user that's not supposed to be able to login via telnet or ssh but it IS supposed to be able to sftp to the system ... Is there any way to restrict a user from connecting via anything but sftp ? Regards Thomas
Aug 29, 2008 #2 KenCunningham Technical User Joined Mar 20, 2001 Messages 8,475 Location GB Perhaps set the user's shell to something like /bin/false. I want to be good, is that not enough? Upvote 0 Downvote
Aug 29, 2008 1 #3 khalidaaa Technical User Joined Jan 19, 2006 Messages 2,323 Location BH I think you can do this by setting the user in a restricted shell! Regards, Khalid Upvote 0 Downvote
Aug 29, 2008 #4 khalidaaa Technical User Joined Jan 19, 2006 Messages 2,323 Location BH I just got another way to this! I think this is exactly what you need to do! Have a look at this link: http://www.hackinglinuxexposed.com/articles/20030109.html Regards, Khalid Upvote 0 Downvote
I just got another way to this! I think this is exactly what you need to do! Have a look at this link: http://www.hackinglinuxexposed.com/articles/20030109.html Regards, Khalid
Aug 29, 2008 #5 khalidaaa Technical User Joined Jan 19, 2006 Messages 2,323 Location BH Hi again Thomas, I think you can do the same thing by chaning some parameters in /etc/sshd_config! Regards, Khalid Upvote 0 Downvote
Hi again Thomas, I think you can do the same thing by chaning some parameters in /etc/sshd_config! Regards, Khalid
Sep 1, 2008 Thread starter #6 TSch Technical User Joined Jul 12, 2001 Messages 557 Location DE Good hints ! Thanks a lot ! Upvote 0 Downvote