just create a file called putty in $HOME/bin/
[putty]
#!/bin/sh ssh "$1" | tee -ai ${HOME}/Logs/`date +"%Y%m%d-%H%M%S"`_"$1".log;
Logs will be inside $HOME/Logs/
Usage:
1. putty username@server in terminal
2. Can be adapted to menu-launcher
Example desktop entry
No comments:
Post a Comment