background:
Not familiar with Linux, the new server centos,1 a gpu,512m memory, would like to use to put something;Dos attack, and then understand the need for SSH key login, but also prohibit the account password log in the way, prohibit the use of root account login tool
Putty: Very small, find a corresponding download on the line, click on the download address, mainly in the full version has a puttyagen
; Authorized_keys "create file with file name Authorized_keys"Paste the public key character content that you just copied (paste method: Press Shift+ins or right-click in the Putty window);Then press the Ctrl+d key to save the end of the cat input to the file (Ctrl + C is not to save the end input)."During the input process, press the ENTER key to immediately save the text you just entered and look up in the file."$ chmod Authorized_keysStep Three: Se
Recently engaged in a VPS, with Putty landing every time to enter the root account password, more trouble, so the internet to find the SSH certificate method.In fact, this should be the Putty recommended authentication method.1. Generate the key using the Putty SSH key gener
software next to Windows." 10. Log in to your Linux server with SSH credentials/vpsputty→ session: Fill in the server IPputty→ connection → Data: Fill in the automatic login user nameputty→ Connection →ssh→ Authentication: Select Authentication private Key FileBack to putty
认Enter file in which to save the key (/HOME/USER/.SSH/ID_RSA):Created directory '/home/user/.ssh '.#密钥的密码, you need to enter and rememberEnter passphrase (empty for no passphrase):Enter same Passphrase again:Your identification has been saved In/home/user/.ssh/id_rsa.Your public key has been saved in/home/user/.ssh/id_
:/path/filename/path # download the remote file from the server to the local devicePscp usage of puttyWhen FTP is unavailable, it is convenient and secure.Obtain sub-directories in the logged-on directoryExample: User user1User1 Directory: pythondirectory, indext.html file,1. Get all contents in the directoryPscp-PW password-r username @ ipadress: Directory target_dir-PW: Password-R indicates that all contents in the directory are obtained.Pscp-PW password-r username @ IPaddress: Python C:/home2
PUTTY does not support remembering passwords by default. It is not recommended to use the modified version. Fortunately, SSH supports certificate login. I also asked my friends in the production environment that they also use certificates when logging on to SSH.
Generally, Linux VPS is cheaper than Windows, so several VPS are available in CentOS. The random pas
Question
Each time before using Putty remote connection, you need to enter a password, remember that you can use SSH to achieve password-free login, so try it.
First, on remote Linux, a pair of RSA public key pairs is created with Ssh-keygen, and the private key is copied to the Windows system via
A total of 7 or 8 times have been successfully installed LFS. So I am a stupid person. But not to be ashamed of it.is probably installed to the 3rd time when thinking so manual old input is not a way, not lazy, but old will lose mistakes. So I thought of a way (this method later found in the LFS forum that everyone will, Khan ...) or write it, after all, also think out of it.Opened the readme.html in LFS's LiveCD. Inside, it lists the software on the CD package. There are
OpenShift is often upgraded. After the upgrade, the program won't be accessible. I see an article on the internet saying that I can restart the service through SSH (users with the same problem can log on to Gear through SSH, enter"Ctl_all start"Or"Ctl_all restart"Start the httpd service .), SSH seems to be accessible using the following command:
" file, open, enter the above password, will prompt "successfully imported ...", "OK"--" Save private key, the other options in this procedure are the default.8, open Putty software, left "Connection"--"Data", the right "Auto-login username" after entering the corresponding user name of the private key; left "Connection"--"SS
/ssh/sshd_conf file on the server and activate X11 forwarding.X11Forwarding yesRestart sshd.
4. Verify that the server is successfully forwarded.Echo $ DISPLAYResult: localhost: 10.0 indicates that the configuration on the server is successful. Otherwise, if it is null, the configuration is incorrect.
5 install Xming on the desktopThis free program can be downloaded and installed on Windows, which is very simple and requires no configuration.
6. St
/sshd_conf file on the server and activate X11 forwarding.
X11Forwarding yes
Restart sshd.
4. Verify that the server is successfully forwarded.
Echo $ DISPLAYResult: localhost: 10.0 indicates that the configuration on the server is successful. Otherwise, if it is null, the configuration is incorrect.
5 install Xming on the desktop
This free program can be downloaded and installed on Windows, which is very simple and requires no configuration.
6. Start Xming on the desktop and configure
Tags: putty xshell ssh1.9 Remote connection to Linux using Putty1. Remote connection to Linux using puttyLogin:1.10 using Xshell to connect to Linux1. Remote connection to Linux using Xshell1.11 Putty Key authentication1, Putty ke
Generate key window (the active mouse is also needed here and the public key will be generated soon)-click Next to enter the key information window (name here and set the private key password)-click Done to enter the Public Key registration window (where the generated key string is displayed), where the public key is saved!!!--Enter the Linux system for editing (the directory has been generated since the Putty key authentication.
Putty is a free telnet, rlogin, and ssh client on Windows 32, but its functions are not inferior to commercial telnet tools. It is very easy to use to remotely manage LinuxVPS. its main advantages are as follows: ◆ completely free; ◆ running on Windows is very...
Putty is a free telnet, rlogin, and ssh client on Window
editor under the Public key text file, enter the Vi/root/.ssh/authorized_keys, the Xshell in the key stick in, and then save the exit.650) this.width=650; "title=" 21.png "alt=" wkiom1nnq0dyeqh8aacamwo8-jg860.png-wh_50 "src=" https://s1.51cto.com/ Wyfs02/m01/08/ce/wkiom1nnq0dyeqh8aacamwo8-jg860.png-wh_500x0-wm_3-wmp_4-s_2188145567.png "/>7. Save the Xshell key file locally and click Finish.650) this.width=650; "title=" 22.png "alt=" wkiol1nnqjjj6nnoa
PUTTY connection: virtual machine connection
**************************************** ******************************** ****************
Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally responsible.
Please leave a message or email (hy
You have modified putty code a long time ago to add a timestamp to Telenet output. I have always used the public key method for SSH Login, so I have never thought of adding the password option. However, I know that many of my colleagues use putty login every time, they still have similar requirements.
====> Config. c
1. setup_config_box:Putty's interface proces
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.