Guest User

pdmenurc ssh

a guest
Apr 10th, 2014
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. #Set a pleasing color scheme.
  2. color:desktop:blue:blue
  3. color:title:blue:white
  4. color:base:blue:white
  5.  
  6. #this is a comment
  7. menu:ssh:SSH:Select
  8. preproc:if [ ! -f ~/.local/pdmenu.ssh.hosts ]; then \
  9. echo "exec:_demo::ssh -p 22 user@hostname" > ~/.local/pdmenu.ssh.hosts; fi; \
  10. cat ~/.local/pdmenu.ssh.hosts
  11. exec:_Quick-connect:edit:ssh ~Username?:~@~Hostname?:~ -p ~Port?:22~
  12. nop
  13. show:_Help::help
  14. exec:_Edit hosts::nano ~/.local/pdmenu.ssh.hosts
  15. exec:_Edit menu::sudo nano /usr/local/bin/pdmenu.ssh
  16.  
  17. menu:help:Help
  18. exec:_About:disp:grep '^##' /usr/local/bin/pdmenu.ssh
  19. exec:_man ssh::man ssh
  20. exec:_Version:disp:ssh --version
  21. nop
  22. exit:_Back to main menu..
Advertisement
Add Comment
Please, Sign In to add comment