[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenSSH SCP question
- To: "'Sean P. Kane'" <spkane@genomatica.com>, <misc@openbsd.org>
- Subject: Re: OpenSSH SCP question
- From: "Dom De Vitto" <dom@DeVitto.com>
- Date: Tue, 10 Feb 2004 19:24:59 -0000
- Organization: Secure Technologies Ltd.
- Thread-index: AcPv/DbBfcgdg//5Speku9Bd3dIDhAAALRxQAAOeIGA=
put at the top of your local or system wide, ssh config file:
host test.edu
port 99
host bob.edu
port 99
Dom
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Dom De Vitto Tel. 07855 805 271
http://www.devitto.com mailto:dom@devitto.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Where do you want to go today? Same as every day.... Windows Update.
-----Original Message-----
From: owner-misc@openbsd.org [mailto:owner-misc@openbsd.org] On Behalf Of
Sean P. Kane
Sent: Tuesday, February 10, 2004 5:41 PM
To: misc@openbsd.org
Subject: OpenSSH SCP question
How do you use scp to transfer a file between two remote machines that
both use a non-standard SSH port? The -P parameter seems to only affect the
second ("remote") host. So using a line like:
scp -P 99 oracle@test.edu:/home/oracle/backup.sh
oracle@bob.edu:/home/oracle
doesn't seem to work when both machines are running ssh on port 99.
Port number and host names changed to protect the innocent.
Any ideas?
thanks,
Sean
spkane@genomatica.com