Differences
This shows you the differences between the selected revisions of the page.
2012-06-30 | 2012-07-09 | ||
work for me, may depend on shell used, also sed and awk has to be available (martin) | fxp (martin) | ||
Line 103: | Line 103: | ||
mv ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }') | mv ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }') | ||
+ | ==== [[fxp]] Remote Transfer (FXP) ==== | ||
+ | |||
+ | Use following remote custom command to transfer selected remote files to an another server: | ||
+ | |||
+ | scp -p -r !& !?Username:?!@!?Host:?!:!?Destination path:?! | ||
+ | |||
+ | You may want to hard-code the //Username// and //Host//, if you work with one destination server only. Or you can use a single prompt for both (possibly even for //Destination Path//) to keep the flexibility, yet to reduce number of prompts: | ||
+ | |||
+ | scp -p -r !& !?Username@Host:?!:!?Destination path:?! | ||
+ | |||
+ | Note that you need to ensure you can connect and authenticate to the destination server without any prompts: | ||
+ | * Connect at least once from an interactive terminal (such as [[&url(putty)|PuTTY SSH client]]) to verify the destination server host key. | ||
+ | * Use for example [[ui_login_authentication#forwarding|Agent forwarding]] to forward your private key to the destination server for authentication. | ||