The last time because of the company's machine to face the reload, began to panic in the Mac file SCP to my desktop. In the bustle of the original to delete a useless folder, the results with RM-RF when the tab, fill out the document did not see the
This article describes how to simplify the steps for logging on to a Linux host from a Mac to improve efficiency. The so-called "login-free" does not actually exist. It just means that the password authentication method is changed to the
1. SSH client generates key1$Ssh-keygen-T Rsa-b40962Generating public/private RSA key pair.3Enterfile inch whichTo save the key (/users/(username)/.SSH/id_rsa): Vagrantid_rsa4Enter Passphrase (empty forno passphrase):5 Enter same passphrase
Reprint NOTE: This article reprinted from http://www.aips.me/mac-key-ssh-login-linux.html
Generate key Pair
Log in to the remote host with a password, copy the public key past
Done
First step: Generate key PairExecute Command
1. Create a public key on the local machineOpen the Universal terminal, execute the following command, ignoring all the output, all the way to enter the cheerful.Ssh-keygen-t rsa-c ' Your [email protected] '-t specifies the key type, which is RSA
Just started to contact Linux Some do not adapt, took a lot of detours, has not systematically studied Linux applications, the basic is fragmented Google out of the knowledge, here do a collation:Vi/vim Basic Operation:Just started to contact with
In Linux or Unix-like systems, each user and process is running in a specific environment. This environment contains variables, settings, aliases, functions, and more. Here is a brief introduction to some of the common commands in the shell
[Root (0) @ sys11 09:20:29/home/work/code_release/Bj] # SCP./release. Sh [email protected]:/users/a2014102/downloadsSSH: connect to host 192.168.161.151 port 22: Connection refusedLost connection
Solution:One possible reason is that becauseSSH
Configure remote Linux Server SSH key authentication for automatic logon in Mac OS X1. Create a public key on the local machine
Open the omnipotent terminal, execute the following command, ignore all output, and press ENTER happily.
ssh-keygen -t
1. Check the JDK installation status.
1. How to set the default Java version in Mac?
Let's take a look at the Java link on Mac:Go to the corresponding directory: CD/usr/bin
View the Java link: ls-l JavaLocalhost: Bin root # ls-l JavaLrwxr-XR-x 1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.