From 5bf165fef4a0d93ea3e4f9a8f787acb664db85a2 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawl99Gxq3NPNvwZHp3PDufaknQH4rZb_KKY" Date: Tue, 9 Apr 2013 15:30:20 +0000 Subject: [PATCH] --- ...ord_login___40__nearly__41___impossible.mdwn | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/doc/bugs/The_restricted_ssh_key_pair_makes_password_login___40__nearly__41___impossible.mdwn b/doc/bugs/The_restricted_ssh_key_pair_makes_password_login___40__nearly__41___impossible.mdwn index 0c9a7973b0..04d7d1b6e2 100644 --- a/doc/bugs/The_restricted_ssh_key_pair_makes_password_login___40__nearly__41___impossible.mdwn +++ b/doc/bugs/The_restricted_ssh_key_pair_makes_password_login___40__nearly__41___impossible.mdwn @@ -1,18 +1,21 @@ -What steps will reproduce the problem? +**What steps will reproduce the problem?** + On my work computer I created a new repository and then added a directory on my home server to backup some of my files. The assistant created a new key pair which then made password login quite hard. On the commandline I could still login via ssh -o PreferredAuthentications=keyboard-interactive ... but all gui tools (e.g. gigolo) stop after connecting to the restricted shell. I don't want to allow full passwordless access to my server from this computer. -What is the expected output? What do you see instead? +**What is the expected output? What do you see instead?** + I was able to fix the problem by moving the keyfiles on my computer at work to a subdirectory. After that I added the following line to the [remote] block in .git/config : -IdentityFile = /home/user/.ssh/annex/id_rsa_annex + + IdentityFile = /home/user/.ssh/annex/id_rsa_annex I think it should be the default behaviour that git-annex uses its own key pair with restricted access. For portability the keys could be stored somewhere in the repository itself. -What version of git-annex are you using? On what operating system? -git-annex version: 4.20130324 -Ubuntu 11.04 +**What version of git-annex are you using? On what operating system?** -Please provide any additional information below. +git-annex version: 4.20130324, Ubuntu 11.04 + +**Please provide any additional information below.**