![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
profile :
search :
help :
dashboard :
calendar :
home
|
||
|
Topic Title: SCP Topic Summary: Does Synergy Support Secure Copy? Created On: 1-Mar-2006 17:47 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Guys,
Does anyone know if Synergy supports scp instead of the standard rcp? Thanks Dave |
|
![]() |
|
![]() |
|
You mean if it supports that in the DCM transfers? Yes, you can make it support scp, but that have to be implemented in the 'User Defined Transfer Method'. Or, you could probably just replace the 'rcp' binary with a symlink to scp.
Anyway, we have implemented that by using the 'User Defined' transfer method, just look at the /path/to/db/bin/dcm_transfer file (or the dcm_transfer.bat if using Windows). We are using a more more sophisticated script with support to multiple transfer protocols, but this simple script should do it. Of course it assumes that your overall ssh setup is in place, i.e. proper keys exists etc. We also found a lot of problems with different versions of ssh, like the ssh bundled with Solaris 9 didn't really work. Now when we have standardized to OpenSSH 3.7 or newer and are also controlling the sshd_config files, everything works just fine. One additional benefit from using ssh is that you can deny remote execution on the other server by using 'ssh', but still allow the transfers to take place. You can do that by using the 'command' option on the .ssh/authorized_keys file, i.e. you can allow execution of some certain commands only by making this command to fail if the incoming request is not for example to execute the remote scp daemon. --- #!/bin/sh # Extract the parameters. Parameter $10 cannot be referred directly recipient_dbid="$1" recipient_OS="$2" recipient_hostname="$3" recipient_CCM_HOME="$4" source_dbid="$5" recipient_dbpath="$6" recipient_transfer_path="$7" dcm_data_file="$8" dcm_preview_file="$9" shift dcm_info_file="$9" for package_file in $dcm_data_file $dcm_preview_file $dcm_info_file; do scp $package_file ${recipient_hostname}:${recipient_dbpath}/dcm/receive done status=$? exit ${status} --- |
|
![]() |
Telelogic SYNERGY
» SYNERGY/CM
»
SCP
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.