X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: From: "John MacKenzie" To: Subject: Fw: How to change the default outgoing port from 22 in cygwin/ssh Date: Mon, 30 Mar 2009 13:40:58 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi All I am trying to acomplish the following: use CYGwin as an rsync emulator from my Local Windows computer to connect via SSH to a remote Unix based server for the purposes of backing up files. My PROBLEM: my server blocks port 22 for a small measure of security and uses a different port for example 2121 for ssh traffic. when using the rsync command from cygwin, there appears to be no way to force a different port as you can do when running the ssh command with the -p flag My Question: is there a way to change the deafult port that cygwin/rsync/ssh (not really sure which ) uses so that I can get my little batch file running with my rsync command to connect to my remote server? here is the rsync command I am using: rsync -avzun user@[HOSTIP]:/[DIRTOBACKUP] [/LocalBackupFolder/SubFolder] any guidance would be greatly appreciated. Thanks John -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/