Guest User

Untitled

a guest
May 23rd, 2018
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. #!/bin/bash
  2. # Set up everything on desktop bash
  3. #
  4.  
  5. clear
  6.  
  7. sudo sshfs -o allow_other bairdali@eihw-gpu1.informatik.uni-augsburg.de:/home/bairdali /home/alice/gpu/
  8. echo "gpu-mounted"
  9.  
  10. sudo mount -t cifs -o username=alice,noperm //eihw-nas/staff ~/nas/staff
  11. echo "staff-nas-mounted"
  12.  
  13. sudo mount -t cifs -o username=alice,noperm //eihw-nas/student ~/nas/student
  14. echo "student-nas-mounted"
  15.  
  16. sudo mount -t cifs -o username=alice,noperm //eihw-nas/staff/data_work/alice ~/nas/alice
  17. echo "alice-nas-mounted"
  18.  
  19. echo "now-login-to-the-gpu"
  20. ssh bairdali@eihw-gpu1.informatik.uni-augsburg.de
  21.  
  22. echo "everything is setup"
Add Comment
Please, Sign In to add comment