SVN server line with password w/ svn+ssh transport -
i can connect svn having login in server address this
svn+ssh://login@someip/somepath
is possible have password there?
no, not. subversion's delegation external ssh process has no support passing passwords. part of point of using ssh avoid interception of plaintext passwords, (by caching passwords) serious bug if supported, , lack of "feature" by-design.
what can use rsa key authentication allow single-sign-on (ideally, encrypting key, such operating system prompts key's password first time try use it, remembers thereafter; macos x , modern gnome -- stock ubuntu -- out-of-the-box).
use ssh-keygen
command generate rsa key pair, , cause public half of installed in authorized_keys
file user on svn server. (some sites may allow rsa public keys installed in ldap; system administrator able tell more).
incidentally, it's not necessary have username in url either. can apply appropriate configuration in ~/.ssh/config
:
host your-svn-server user your-login-name identityfile /path/to/your/key # private half of keypair
if use default filename key, not necessary configure location; necessary if use more 1 key per workstation.
Comments
Post a Comment