XseverにSSH接続で環境構築していますが、以下のエラーが発生しています。
依頼内容は2つです。
このエラーを解消していただきたいです。
●1.SourceTreeでプッシュ実行時エラー
エラー内容:
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --set-upstream origin master:master
Pushing to ssh://サーバー名:10022/home/ユーザ名/git/test.git/
サーバー名: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
●2.composer installインストール エラー
エラー内容:
PHP Warning: Undefined array key "argv" in phar:///home/ユーザ名/.config/composer/vendor/bin/composer/bin/composer on line 92
PHP Warning: Trying to access array offset on value of type null in phar:///home/ユーザ名/.config/composer/vendor/bin/composer/bin/composer on line 92
PHP Deprecated: realpath(): Passing null to parameter #1 ($path) of type string is deprecated in phar:///home/ユーザ名/.config/composer/vendor/bin/composer/bin/composer on line 92
お手数おかけしますが、よろしくお願いいたします。