Stefano Borini
Stefano Borini

Reputation: 143795

svn asking passphrase when logged in through ssh, but not when working local

I get a request for passphrase when I try to commit in svn (protocol svn+ssh) when connected remotely via ssh. If I do the same while locally connected, with a normal terminal session, I don't get this request. I have MacOSX 10.6.

Any idea ?

Upvotes: 0

Views: 322

Answers (2)

Tom Anderson
Tom Anderson

Reputation: 47193

I would guess there's some different in the scripts being run when the shell starts. Does Terminal run a login shell? Does ssh? If they're different, then one will run .bash_profile and the other won't. IMHO, all interactive shells should be login shells, but it's common for graphical terminals not to be. ssh should always start a login shell.

As a method of diagnosis, try running set in both a local and an ssh shell, and comparing the output; if they're different, that points to a different set of scripts having run.

Upvotes: 0

Spyros
Spyros

Reputation: 48636

This is the standard behaviour of ssh. If you want it to not ask, you have to configure your ssh keys. I've written a post about it a while ago, i think it will help you :

http://www.codercaste.com/2009/10/07/how-to-setup-your-ssh-keys-for-authentication/

Upvotes: 1

Related Questions