LoginSignup
1
1

More than 3 years have passed since last update.

Macにssh接続しようとするとConnection refusedと表示される

Posted at

環境

  • MacBook Pro (13-inch, 2019, Four Thunderbolt 3 Ports)
  • macOS Mojave 10.14.6

発生した問題

  • macからmacにssh接続しようとしたが"ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection refused"と表示される

対処法

システム環境設定 > 共有 > リモートログインにチェック

終わりに

初めはIPアドレス間違え、ファイアウォールを疑いましたが単純なミスでした

1
1
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
1
1