Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- so i did try that and failed
- i did it like this :
- I did create a user called user01 then i did add this line to my limit file
- user01 hard maxlogins 2
- i did restart ssh service aswell , then i did connect to it using 3 devices!!
- i did use this command to check all 3 devices connected : "ps axfj | grep ssh"
- and the output was like that :
- 250313 251089 251089 251089 ? -1 Ss 0 0:00 \_ sshd: user01[priv]
- 251089 251146 251089 251089 ? -1 S 1003 0:01 | \_ sshd: user01
- 250313 251672 251672 251672 ? -1 Ss 0 0:00 \_ sshd: user01[priv]
- 251672 251720 251672 251672 ? -1 S 1003 0:00 | \_ sshd: user01
- 250313 252241 252241 252241 ? -1 Ss 0 0:00 \_ sshd:user01 [priv]
- 252241 252298 252241 252241 ? -1 S 1003 0:00 | \_ sshd: user01
Advertisement
Add Comment
Please, Sign In to add comment