Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Match Group sftponly
  2. ChrootDirectory %h
  3. ForceCommand internal-sftp
  4.  
  5. % ssh somehost
  6. This service allows sftp connections only.
  7. Connection to somehost closed.
  8.  
  9. ssh -N -L 9000:localhost:80 somehost
  10.  
  11. Match Group sftponly
  12. ChrootDirectory %h
  13. X11Forwarding no
  14. AllowTcpForwarding no
  15. AllowAgentForwarding no
  16. ForceCommand internal-sftp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement