Tue Nov 08 01:51:19 2005: New ticket: 576.
Transaction: Ticket created by guest
       Queue: Darcs
     Subject: SSH_PORT does not affect SFTP
       Owner: Nobody
  Requestors: [EMAIL PROTECTED]
      Status: new
 Ticket <URL: http://bugs.darcs.net/.//Ticket/Display.html?id=576 >

Using an ssh tunnel to another machine:

ssh -f -N -p 99 -c 3des [EMAIL PROTECTED] -L 4422/final_host/22

the SSH_PORT variable does not seem to affect the sftp command:

SSH_PORT=4422 darcs get ... [EMAIL PROTECTED]

succeeds with scp calls but fails with sftp calls. A well-timed `ps` 
invocations shows that the 
live sftp process' commandline has no port specified.

SSH_PORT=4422 DARCS_SFTP='/usr/bin/sftp -oPort=4422' darcs get ... [EMAIL 
PROTECTED]

is a currently operational workaround.

Knee-jerk guess: the SSH_PORT env variable is not being considered when forming 
the sftp 
command line.

-Nicolas Frisby
-University of Kansas, CSDL, student


_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to