/var/log/messages

Jun 20, 2014 - 1 minute read - Comments - Git

ssh な port を変えてる場合の remote add な url の指定 (備忘)

~/.ssh/config 作れ、なのか成程。

Host hoge.remote
    HostName hoge.example.com
    User git
    IdentityFile ~/.ssh/id_rsa.hoge
    Port 22222

で、以下で追加、になるのかどうか。

$ git remote add ssh://hoge.remote/home/repo/hoge.git

うーむ。

その後

試験しようとしたら仮想リソース動詞の ssh 接続がががが状態に。困りつつも同じゾーンに居るのは分かってたのでローカル IP でトライしたら接続できました。

さらにその後

とりあえず push ができることは確認してます。ということで git push で deploy できる production なリソース作成着手。

手持ち音源 今日の夜メシ

comments powered by Disqus