0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

MacからGPUSOROBANへSSHしようとしたら公開鍵が通らない時の対処

Posted at

VSCODEに下記のエラーが出る

Permission denied (publickey,keyboard-interactive)

実はこれパーミッションがガバガバだから怒られている。(元のエラーを握りつぶすVSCODEの残念動作により根本原因がわからない。おこです。こまんどSSHすればエラーを読めます。下記。)

参考サイト
https://umebius.com/dev/permissions-0644-for-xxx-key-are-too-open-%E6%A8%A9%E9%99%90%E3%82%92%E3%81%A9%E3%81%86%E3%81%99%E3%82%8C%E3%81%B0%E3%81%84%E3%81%84%EF%BC%9F/

Permissions 0644 for ‘xxx.key’ are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.

下記で解決

chmod 600 ~/.ssh/*.txt

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?