Guest User

Untitled

a guest
Jan 31st, 2023
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. so i did try that and failed
  2. i did it like this :
  3. I did create a user called user01 then i did add this line to my limit file
  4. user01 hard maxlogins 2
  5. i did restart ssh service aswell , then i did connect to it using 3 devices!!
  6. i did use this command to check all 3 devices connected : "ps axfj | grep ssh"
  7. and the output was like that :
  8.  
  9. 250313 251089 251089 251089 ? -1 Ss 0 0:00 \_ sshd: user01[priv]
  10.  
  11. 251089 251146 251089 251089 ? -1 S 1003 0:01 | \_ sshd: user01
  12.  
  13. 250313 251672 251672 251672 ? -1 Ss 0 0:00 \_ sshd: user01[priv]
  14.  
  15. 251672 251720 251672 251672 ? -1 S 1003 0:00 | \_ sshd: user01
  16.  
  17. 250313 252241 252241 252241 ? -1 Ss 0 0:00 \_ sshd:user01 [priv]
  18.  
  19. 252241 252298 252241 252241 ? -1 S 1003 0:00 | \_ sshd: user01
Advertisement
Add Comment
Please, Sign In to add comment