Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17796

limit SSH sessions by IP

$
0
0

Im wondering if this is possible in some way? The only thing I could find is possibly a PAM module that runs a script that queries iptables. The idea that I have here is to, once someone SSH's from an IP, force them to continue to use that IP so that if someone logs in to that account from another IP, they will not be allowed to. I could not find anything native to SSH or PAM that can do this so this is where the idea of iptables came in

Any thoughts?

submitted by /u/ckozler
[link] [comments]

Viewing all articles
Browse latest Browse all 17796

Trending Articles