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.

UpCloudに後からSSH接続先を増やしたい

Posted at

UpCloudに後からSSH接続先を増やしたい

UpCloudを利用した際に後からSSH接続を増やす方法についての備忘録です。
https://upcloud.com/

Upcloudは、サーバーを立ち上げると時に、管理者ページからSSHの接続先を設定することができます。しかし、後からSSH接続を増やすときにはサーバー側で設定する必要があります。
まずは既に登録してあるSSHでサーバにログインします。SSHなどでサーバーにログインできない場合は、upcloudの管理画面の「console」の「Open the console connection」を使用してください。

ログイン後rootでない場合はrootに切り替えてください

sudo su

authorized_keysに公開鍵を追加します。

vim ~/.ssh/authorized_keys;

これで設定は完了し、ssh接続が新たにできるようになります。

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?