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

More than 3 years have passed since last update.

macでローカル環境に構築した仮想マシンにssh接続するコマンド

Posted at

###やりたいこと

  • (localhost:2222)->(仮想環境:22)へ接続

###前提条件

  • 仮想マシンでポートフォワードは設定済み

###コマンド

ssh -l username localhost -p 2222
Are you sure you want to continue connecting (yes/no)? yes
username@localhost's password: 

でパスワードを入力する。

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