Guest User

Untitled

a guest
Jun 18th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. echo "I'm local"
  4.  
  5. ssh -t -t remote.server << 'EOF'
  6. sudo echo "I'm remote and sudo"
  7. echo "I'm remote but not sudo"
  8. EOF
Add Comment
Please, Sign In to add comment