[LINUX] What I did to ssh to the VPS Ubuntu environment

For Linux beginners, as a memorandum ...

What i did

Make ** VPS ** of ** Ubuntu ** with ** KAGOYA-Cloud ** and connect with ssh.

Save login authentication key

The login authentication key created when setting up the VPS is automatically downloaded when it is created. For mac OS, go to / Users / *** / Downloads /.

WARNING occurs when trying to connect to ssh

ssh root@Server IP-Authentication key for i VPS login

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for'VPS login authentication key' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "Authentication key for VPS login": bad permissions

Change the authority of the login authentication key file

Execute the following referring to here.

chmod 600 VPS login authentication key

ssh connection

I was able to connect successfully.

Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-34-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

20 packages can be updated.
0 updates are security updates.

root@v Server IP:~#

I would appreciate it if you could point out any mistakes.

Referenced articles

Error: Unprotected Private Key File

Recommended Posts

What I did to ssh to the VPS Ubuntu environment
What I did to welcome the Python2 EOL with confidence
What I did to save Python memory
[At Coder] What I did to reach the green rank in Python
[Python] What I did to do Unit Test
I tried adding VPS to ConoHa ~ SSH connection
What I did when updating from Python 2.6 to 2.7
I want to automate ssh using the expect command!
What I did to get started with Linux commands
I want to increase the security of ssh connections
What I did when I was angry to put it in with the enable-shared option
I want to automate ssh using the expect command! part2
Move what you installed with pip to the conda environment
Ventilation is important. What I did to keep track of the C02 concentration in the room
I want to use the Ubuntu desktop environment on Android for the time being (Termux version)
What to do when Ubuntu crashes
Modify Ubuntu tofu to Japanese environment
LINEbot development, I want to check the operation in the local environment
I calculated the stochastic integral (I to integral)
What I did when I wanted to make Python faster -Numba edition-
From Ubuntu 20.04 introduction to environment construction
What to do when you get "I can't see the site !!!!"
I tried to move the ball
I tried to estimate the interval.
What skills do I need to program with the FBX SDK Python?
I tried to execute SQL from the local environment using Looker SDK
What to do if the Pipenv environment is corrupted by updating Homebrew
I want to separate the processing between test time and production environment
What to do when the warning "The environment is in consistent ..." appears in the Anaconda environment
I want to pin Spyder to the taskbar
I want to output to the console coolly
I tried to summarize the umask command
I want to handle the rhyme part1
I tried to recognize the wake word
What I referred to when studying tkinter
The story of adding MeCab to ubuntu 16.04
I want to handle the rhyme part3
I want to build a Python environment
Steps to install Python environment on Ubuntu
I tried to summarize the graphical modeling.
I tried to estimate the pi stochastically
I tried to touch the COTOHA API
I want to display the progress bar
Introduction to docker Create ubuntu environment in ubuntu
What I always add to my ~ / .bashrc
What to do after installing Linux (Ubuntu)
What I was addicted to Python autorun
I want to handle the rhyme part2
I want to handle the rhyme part5
I want to handle the rhyme part4
I want to visualize the transfer status of the 2020 J League, what should I do?
What I was addicted to when creating a web application in a windows environment
I want to use Python in the environment of pyenv + pipenv on Windows 10
I tried to build an environment of Ubuntu 20.04 LTS + ROS2 with Raspberry Pi 4
What I did when I got stuck in the time limit with lambda python
[Ubuntu 18.04 LTS] What to do when the screen resolution cannot be selected [NVIDIA]
I tried to rescue the data of the laptop by booting it on Ubuntu
I tried web scraping to analyze the lyrics.
Log in to the remote server with SSH
[Latest] How to build Java environment on Ubuntu
I wanted to play with the Bezier curve