help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keyboard macro to record scp (password)


From: C K Kashyap
Subject: Re: keyboard macro to record scp (password)
Date: Tue, 12 Jul 2011 15:41:49 +0530

3 ideas:
- expect (password saved somewhere)
- public key authentication
- (sleep-for 1) in macro

--

Hi Peter,
I tried the (sleep-for 3) idea - there seems to be a problem though - for some reason, when I playback the macro, the sleep happens first and then the whole thing gets typed. 

What I did was, record the macro and then edit it and insert the M-: (sleep-for 3)C-j right after the return key after the ssh command.

regards,
Kashyap 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]