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?

More than 1 year has passed since last update.

WSLでXserverにSSH接続する方法

Posted at
![概要図](./images/image1.png) #Xserverーバーでsshの設定 [LINK][1] [1]:https://www.xserver.ne.jp/manual/man_server_ssh.php こちらを参考に公開鍵認証用の鍵ペアを作成。秘密鍵fkumazemi.keyをダウンロード パスフレーズは忘れずメモを。 秘密鍵の設置 ダウンロードしたfkumazemi.keyを以下のコマンドで移動 .sshディレクトリの作成 $ mkdir ~/.ssh ファイルの移動 $ mv ~/Downloads/fkumazemi.key ~/.ssh 秘密鍵のファイル名の変更 秘密鍵の名前を変更します。この時通常だとid_rsaとするのですが、 .sshに移動 $cd ~/.ssh/ 名前の変更 $mv fkumazemi.key id_xserver_rsa #パーミッションの変更
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?