ssh "LocalCommand" won't work
Hi @all,
i try to use the LocalCommand feature from openssh. this is my ~/.ssh/config Code:
PermitLocalCommand yes some ideas? |
Are you saying that you are unable to use rcp, scp or sftp, right?
To any other remote system or just the particular one? |
Quote:
here some debug output: Quote:
|
Hmm, what a particular reason of using that LocalCommand feature?
Is there any workaround to bypass or replace it, in other words, what are you trying to accomplish? |
Quote:
|
But that's scp made for:
Code:
SCP(1) BSD General Commands Manual SCP(1) |
Quote:
and scp is also not working in localcommand... all commands like rsync,scp ... working with the same parameters from the shell but not in LocalCommand |
ok i need to correct this, scp works!
but why rsync not? |
Won’t your current setup create an endless loop? You first login successfully, as a result you want to execute in localcommand an rsync which uses another ssh. Hence it will connect again... So it must be avoided for future invocations:
Code:
PermitLocalCommand yes |
Quote:
yes you are right, thanks. |
All times are GMT -5. The time now is 08:08 AM. |