Hi,
if i execute the following (simplified for testing) in the terminal (bash) (OS 10.7), it works:
ssh user@host "cp /path/to/inputfile /path/to/outputfile"
If i do the same with Switch, nothing happens:
Command or path: ssh
Arguments: user@host "cp /path/to/inputfile /path/to/outputfile"
Why?
Kind regards,
Jörg
ssh/execute command
ssh/execute command
I don't have a mac with a passwordless account, so I can't try myself. However, I think the solution from the following thread might help:
http://www.crossroads-world.com/en/Home ... osts&t=509
http://www.crossroads-world.com/en/Home ... osts&t=509
-
- Member
- Posts: 30
- Joined: Mon Mar 21, 2011 2:30 pm
ssh/execute command
Hi jonasy,
thanks for your reply an the link. I also tried these ways - without success.
If you want to make further tests i suggest you setup the "passwordless account" first:
http://www.laubenheimer.net/ssh-keys.shtml
br,
Jörg
thanks for your reply an the link. I also tried these ways - without success.
If you want to make further tests i suggest you setup the "passwordless account" first:
http://www.laubenheimer.net/ssh-keys.shtml
br,
Jörg
ssh/execute command
Joerg Schober wrote: Hi jonasy,
thanks for your reply an the link. I also tried these ways - without success.
If you want to make further tests i suggest you setup the "passwordless account" first:
http://www.laubenheimer.net/ssh-keys.shtml
br,
Jörg
Hey Jörg,
I've never had much luck with the execute command configurator so I'm sure there is a way to get that working, just not sure what that is. What I've been doing with some success is, in a script, writing a temp .sh file and then using Process.execute() to execute the script within the script.
thanks for your reply an the link. I also tried these ways - without success.
If you want to make further tests i suggest you setup the "passwordless account" first:
http://www.laubenheimer.net/ssh-keys.shtml
br,
Jörg
Hey Jörg,
I've never had much luck with the execute command configurator so I'm sure there is a way to get that working, just not sure what that is. What I've been doing with some success is, in a script, writing a temp .sh file and then using Process.execute() to execute the script within the script.
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix