Hi I use runCommand to execute some basic ksh script without problems. (rm..).
But i can't run command with impdp.
var cmd = ssh.RunCommand("ssh oracle@192.168.1.31;cd /usr/oracle/app/admin/db01/dpdump/; impdp1.ksh>tata.txt"); I m able to run manually impdp1.ksh. I m run out of idea ? please any help
regards
Comments: ** Comment from web user: da_rinkes **
But i can't run command with impdp.
var cmd = ssh.RunCommand("ssh oracle@192.168.1.31;cd /usr/oracle/app/admin/db01/dpdump/; impdp1.ksh>tata.txt"); I m able to run manually impdp1.ksh. I m run out of idea ? please any help
regards
Comments: ** Comment from web user: da_rinkes **
Just some hints:
- If you want to ssh through ssh, use local port forwarding
e.g.: ssh1 to server1 -> local forward server2 port 22 to 127.0.0.1:22222 -> ssh2 to 127.0.0.1:22222 -> ssh2.RunCommand
- Check SshCommand Error, ExitCode and Result