Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: SCP
Topic Summary: Does Synergy Support Secure Copy?
Created On: 1-Mar-2006 17:47
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 1-Mar-2006 17:47
User is offline View Users Profile Print this message


David Hope

Posts: 5
Joined: 22-Jul-2005

Guys,

Does anyone know if Synergy supports scp instead of the standard rcp?

Thanks

Dave
Report this to a Moderator Report this to a Moderator
 2-Mar-2006 06:52
User is offline View Users Profile Print this message


Toni Arte

Posts: 30
Joined: 16-Aug-2004

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}
---
Report this to a Moderator Report this to a Moderator
Telelogic SYNERGY » SYNERGY/CM » SCP

Topic Tools Topic Tools
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.