[OSP] Problemy s ssh

Michal Sojka sojkam1 na fel.cvut.cz
Středa Březen 19 21:28:06 CET 2014


Ještě pošlete jaky používáte příkaz gitu. Pokud funguje samotné ssh neměl by mit git problém. Ledaže byste měl něco špatně v .ssh/config.

Pavel Lieberzeit <liebepav na fel.cvut.cz> wrote:
>Dobry den,
>v navaznosti na komentar ze cviceni:
>
>Případně by taky mělo fungovat použití ssh-add ~/.ssh/key.
>
>
>Po ssh-add funguje jen pristup pres ssh (bez ssh-add se ani ssh
>neprovede
>uspesne, leda se specifikaci identity. Nepta se na passphrase klice),
>git
>stale nefunguje. Stejne tak pri zmene ssh configu. Klic ma neprazdnou
>passphrase.
>
>celý obsah souboru .git/config ve vašem repozitáři.
>
>
> [core]
>>     repositoryformatversion = 0
>>     filemode = true
>>     bare = false
>>     logallrefupdates = true
>> [remote "origin"]
>>     url = git://github.com/MidnightCommander/mc.git
>>     fetch = +refs/heads/*:refs/remotes/origin/*
>> [branch "master"]
>>     remote = origin
>>     merge = refs/heads/master
>> [remote "osp"]
>>     url = ssh://git@rtime.felk.cvut.cz/osp/mc
>>     fetch = +refs/heads/*:refs/remotes/osp/*
>
>
>a git remote -v
>
>> origin    git://github.com/MidnightCommander/mc.git (fetch)
>> origin    git://github.com/MidnightCommander/mc.git (push)
>> osp    ssh://git@rtime.felk.cvut.cz/osp/mc (fetch)
>> osp    ssh://git@rtime.felk.cvut.cz/osp/mc (push)
>>
>
>Dekuji,
>Pavel Lieberzeit
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>OSP mailing list
>OSP na rtime.felk.cvut.cz
>http://rtime.felk.cvut.cz/mailman/listinfo/osp

-- 
Odesláno z mého telefonu pomocí Kaiten Mail. Omluvte prosím mou stručnost.
------------- další část ---------------
HTML příloha byla odstraněna...
URL: <http://rtime.felk.cvut.cz/pipermail/osp/attachments/20140319/fbcc09b1/attachment.html>


Další informace o konferenci OSP