1.5.3


Old Stuff

 www.your-freedom.net
 www.secure-tunnel.com

Ticket #85 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Problem resolving path to SSH private key with 0.9.5+

Reported by: dre@mac.com Assigned to: andrei
Priority: normal Milestone: AlmostVPN 0.9.6
Component: FAQ Version: 0.9
Severity: normal Keywords:
Cc:

Description

This is a regressin in 0.9.5+

When attempting to start a session using SSH key authentication, 0.9.5+ reports:

Warning: Identity file ~/.ssh/id_rsa does not exist.

and the session does not open.

The same procedure with the exact same prefs / settings works fine in 0.9.5.

Changing the key path to a fully qualified path (/Users/me/.ssh/id_rsa) works around the problem in 0.9.5+.

In 0.9.5, the SSH session is invoked as:

Nov 30 17:50:44 dre sudo: andre : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/bash -c source /Users/andre/Library/PreferencePanes/AlmostVPN.prefPane/Contents/Resources/utils.sh;echo | doSSH -g -o \"UserKnownHostsFile?=/Users/andre/.ssh/known_hosts\" \"-o\" \"ConnectTimeout?=0\" \"-o\" \"TCPKeepAlive=yes\" \"-4\" \"-i\" \"/Users/andre/.ssh/id_rsa\" \"-L\" \"4242:my.box.com:3689\" \"andre@my.box.com\" -N

but in 0.9.5+, the same session is initiated as:

Nov 30 18:03:39 dre sudo: andre : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/bash -c source /Users/andre/Library/PreferencePanes/AlmostVPN.prefPane/Contents/Resources/utils.sh;echo | doSSH -g -o \"UserKnownHostsFile?=/Users/andre/.ssh/known_hosts\" \"-o\" \"ConnectTimeout?=5\" \"-o\" \"TCPKeepAlive=yes\" \"-o\" \"TCPKeepAlive=yes\" \"-4\" \"-i\" \"~/.ssh/id_rsa\" \"-L\" \"4242:my.box.com:3689\" \"andre@my.box.com\" -N

For some reason, the tilde expansion isn't occuring on the path to the SSH private key, so maybe it's trying to find it in root's homedir.

Change History

12/01/05 01:46:24 changed by dre@mac.com

  • status changed from new to closed.
  • resolution set to fixed.

Solved in the updated 0.9.5+

12/06/05 11:01:35 changed by anonymous

  • version set to 0.9.
  • milestone set to AlmostVPN 0.9.6.