Guest User

Untitled

a guest
Mar 20th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. socat "unix-listen:$HOME/.shell-access,mode=600,fork"
  2. "exec:$SHELL,pty,stderr,setsid,ctty"
  3.  
  4. socat -,raw,echo=0 "unix:$HOME/.shell-access"
  5.  
  6. ssh -R "/path/to/socket/on/host:$HOME/.shell-access" user@host
  7.  
  8. socat -,raw,echo=0 "unix:/path/to/socket/on/host"
Add Comment
Please, Sign In to add comment