Today, the system administrator told me a trick to run under the command line of Windows:
REG EXPORT Hkey_current_user\software\simontatham session. Reg
Then import registry information on the other machine: session. Reg can.
This registry file can also be used to bulk modify the default configuration, such as to change the character set defaults to UTF-8, with a text editor to open Session.reg, a lot of search:
"Linecodepage" = ""
To be replaced by:
"Linecodepage" = "UTF-8"
In fact,
In the previous article to ensure that Linux VPS and server more secure Xshell set key login article has been shared to Xshell use the key to login to our VPS server to ensure the safety of the machine, but many students are not like the old left with Xshell, There are still a lot of use putty login ssh, so a separate article to share with Putty set the key to login to the Linux VPS host method.
PS: If we
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 Putty Connection-> SSH-> Auth-> Parameters-> Browse selects the private key and then logs on, prompting the f
Putty PPK file to Xshell key file for use
Today, my classmate gave me a putty remote login to use the PPK file (that is, the suffix named PPK) let me telnet to the host, but I used Xshell, import this PPK file, encountered the "Failed to import the user key!" Error.
Refer to this article on the Internet, found the solution, as follows
1, find the Putty i
For users who are often remotely SSH to Linux under Windows, Putty is probably the best choice for you.
However, by default, putty support for Chinese is not flattering, if the remote Linux locale is set to zh_cn.* (Bg2312,gbk,utf8, etc.), the display is garbled. After the study found that in fact, Putty Chinese support is very good, hehe
Open
Tags: note Note notes1.9 Remote connection to Linux using putty1.10 using Xshell to connect to Linux1.11 Putty Key authentication1.12 Xshell key authenticationNotes
Vmwork Snapshot: Easy recovery
Use the SSH service to telnet to the Linux system.
Putty download URL; https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html3.Host name fill the rem
The VMware installation system uses Ubuntu, after installation every time with Putty login found to wait for a long time, after internet search, found that Ubuntu security mechanism caused by slow connection problems, the solution is as follows; 1. Sudo vim/etc/ssh/ssh_config2. Change the gssapiauthentication after yes to no gssapiauthentication (Universal Security Service Application Interface Gssapi) is an application interface that allows the progr
Usually in the process of Linux development, we need to use remote login tools for the host to log in remotely, so when using a remote login tool like putty or SECURECRT, sometimes there will be no login, then at this point we should think of the first thing is, Our host above the SSH service is open, then the following on the combination of online information summarized as follows:Open SSH Service1. See if there is a sshd_configCat/etc/ssh/sshd_confi
Connect to Linux using puttySnapshot use, do a snapshot equivalent to do a backup, such as the configuration of IP, snapshot, next time you can back here!650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/08/D4/wKiom1nnmEeyxgL_AABMRGWPogA988.png-wh_500x0-wm_ 3-wmp_4-s_2609584802.png "title=" Image.png "alt=" Wkiom1nnmeeyxgl_aabmrgwpoga988.png-wh_50 "/>Putty download Best go to official website download Download Putty.zip650) this.width=650; "
First, prepare1.gust os Ubuntu confirms the installation and starts SSH,Install Command:sudo apt-get install Openssh-serverVerify that SSH is activated.Ps–e|grep SSHThe instructions have been started:If only ssh-agent that Ssh-server has not yet started, need/etc/init.d/ssh startSecond, the connection1. View Eth0 's inet address in Ubuntu:Ifconfig2. Using putty to connect to the 22 port of this address, if you cannot connect, you can try to restore th
Putty after a remote connection to the server, it often prompts "software caused connection abort" and often loses connectivity in a short period of time.The solution is as follows:First step : Set up the server1, modify the server/etc/ssh/sshd.config file, set the value of Logingracetime to 0,tcpkeepalive set to Yes2, service sshd restart restart sshd services.Step two : Set the putty left connection proje
Due to multiple input of the wrong password that day, SSH and putty are not connected, tangled up a long time to solve the problemSSH connection Prompt error: Server unexpectedly closed network connectionPutty Connection Hint ErrorThe problem is that the server has DenyHosts installed, periodically scans the/var/log/auth.log, finds the source of the system's behavior repeatedly failed through SSH, and then adds them to/etc/hosts.deny to disallow these
When using VI on the putty, when opening numlock, press the numeric key on the keypad and not enter a number, but a letter and then newline (in fact, the command mode corresponds to the upper and lower keys). WorkaroundOption Terminal->features, find disable application keypad mode, select on it.The Xshell in Xmanager 4 also has a small keyboard problem resolution ofModify session Properties--terminal->VT mode--Initial numeric keypad modeSelect Set as
problem Description: Sometimes, when you use putty to connect to a remote Linux host, you will not be able to log in directly using root, but you can log in with another user and then switch to the root user .Workaround: 1. Modify the configuration fileVi/etc/ssh/sshd_config2. Find the permitrootlogin entry , set toPermitrootlogin Yes3. Save exit4. Restart the SSH service, problem solvinglinux-resolves an issue where
When using VI on the putty, when opening numlock, press the numeric key on the keypad and not enter a number, but a letter and then newline (in fact, the command mode corresponds to the upper and lower keys). WorkaroundOption Terminal->features, find disable application keypad mode, select on it.The Xshell in Xmanager 4 also has a small keyboard problem resolution ofModify session Properties--terminal->VT mode--Initial numeric keypad modeSelect Set as
Problem response: It is often said that their use of Putty Landing server after a period of time does not operate automatically disconnected. This kind of situation oneself in just contact Putty also met.
Solution: There is a seconds between keepaliaves inside the connection. Here is the number of seconds specified per interval, send an empty packet to the server to keep the connection. In case the host th
1, login to the host and enter ssh-keygen-t RSA
Prompt for enter file in which to save the key (/ROOT/.SSH/ID_RSA):
Input/root/.ssh/sea_rsa
Enter the relevant pathname and filename as prompted and generate two files (followed by two options to return directly)
2, put that did not. pub file copy out with Puttygen to generate Windows Putty available key (here refers to Sea_rsa, select Puttygen Conversions Import key (here refers to Sea_rsa, Then click
We want to upload a local file via ssh or download the files from the Linux host locally, which can be done via the Psftp.exe file. To complete this work, you must have a complete putty installation package and not just putty.exe this file. The next step is to run Psftp.exe, which is the full character interface as Putty. There are a handful of commands to upload and download relative to the shell's numerou
Today with Putty a FreeBSD8.1 system, installed after the remote landing with the putty, has been prompted using keyboard-interactive authentication, meaning the need for interactive keyboard authentication method, can not be logged through the password method. The general situation is as follows: QUOTE:Login As:rootUsing keyboard-interactive authentication.Password:Access deniedUsing keyboard-interactive a
Tags: mod. com root new user selinux com firewall process puttyThe so-called key is the private key placed on their own computer, the public key on the host, can be connected through the private key, more security.mkdir/root/. SSH is created inside root. SSH This directory because of Add. You can hide the directory so ls/root/is not able to see the directoryNeed to add a ls-a/root/to seeand then again. SSH This directory to create a file Authorized_keysvi/root/. Ssh/authorized_keysCopy and paste
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.