HOw to enable shell login for particular user in one ip
Posted
by Master
on Server Fault
See other posts from Server Fault
or by Master
Published on 2010-06-10T01:28:09Z
Indexed on
2010/06/10
1:32 UTC
Read the original article
Hit count: 216
I have blocked FTP 21 port on server. NOw every connection will be via SFTP via ssh.
Initially i had /etc/hosts.deny -- sshd:all
But i had to remove that otherwise sftp was not working.
How can i secure my shell login so that if someone login via root or userbac(root previleges)
Then i need private key but not for other users
Or any other to secure my system
Thanks
© Server Fault or respective owner