![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: scp replacement in DCM Topic Summary: Can scp be used for DCM transfers Created On: 9-May-2007 16:08 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello,
Is is possible to use scp instead of rcp in DCM transfers in SM Synergy 6.3.
Regards
/ Roger Lindmark
|
|
![]() |
|
![]() |
|
Yes it is. We have implemented it using the 'User Defined' DCM transfer method. In that case the 'ccm dcm -trn' command will call the script path/to/database/bin/dcm_transfer (or dcm_transfer.bat on Windows), take a look at the example script. This script will get all necessary information as parameters, all you have to do is to call 'scp' with the right set of parameters.
In the beginning we did have some compatibility issues with different implementations of ssh (OpenSSH vs. SUNssh etc.). So I'd suggest standardizing both the ssh installation and it's parameters (both sshd_config and ssh_config). And it's much easier if you use keys with empty passphrases, so that you don't have to care about supplying the passphrase using the ssh_agent, for example. We plugged the 'empty passphrase' security hole using the 'command' option on the .ssh/authorized_keys file, so that logins with the DCM transfer key will only allow incoming scp commands, and only if the target is a DCM receive directory. |
|
![]() |
Telelogic SYNERGY
» SYNERGY/CM
»
scp replacement in DCM
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.