Always want to transfer their server SSH authentication mode from user name password mode to RSA and DSA authentication protocol, through the release of OpenSSH 4.2, today wrote a configuration process and collected some reference articles on RSA and DSA.Idea Finishing:Has not understood the authentication process in the public key mode, here summarizes the method of making and placing the public key and the secret key. The following assumptions are g
1. Installation, configuration and start-upSSH sub-client openssh-client and Openssh-server if you just want to login to another machine SSH only need to install Openssh-client (Ubuntu has default installation, if not then sudo apt-get install Openssh-client), if you want to make the native SSH service open, you need to install Openssh-serversudo apt-get install Openssh-serverThen confirm that the Sshserver
SSH is based on Key verification and accelerates SSH connection, and key verification ssh connection speed
Authentication Method for SSh service logon:
Password-based security verification
1. When the client initiates an ssh request, the server will send its own public key
SSH is a secure channel protocol that is used primarily for remote logins. In the Rhel 5 system, the OPENSSH server is provided by software packages such as OpenSSH, Openssh-server, which are installed by default, and the sshd is added as a standard system service. Use the following methods:
$ SSH Host
$ ssh Username@host
$
SSH to the 163 host requires a password, which is inconvenient for some scripts because the password is required, that is, manual intervention is required. The method used previously was to copy the authorized_keys file (I can't remember it, I used it before). Recently, I found a command ssh-copy-ID is very convenient. I tried it and it really worked well. It was recorded below:
On 192.168.42.142
1) Run
Environment:192.168.2.10192.168.2.11Implementation: 2.10 SSH without password login to 2.11In 2.10 ssh to 2.11 machines, a password is required, which makes it inconvenient for some scripts to work because of the need for a password, which requires manual intervention. The previous method is to copy Authorized_keys inside (remember, before), recently found a command ssh
1. Installing the SSH2 Extension
(1) window
1 download PHP extension ssh2 download address http://windows.php.net/downloads/pecl/releases/ssh2/0.12/ Download according to your PHP version 2. After the decompression, there will be three files, Libssh2.dll, Php_ssh.dll, php_ssh2.pdb. 3. Put Php_ssh.dll, php_ssh2.pdb into your PHP extension directory under php/ext/ . 4. Copy the Libssh2.dll to C:/windows/system32 and c:/windows/syswow64 one copy of the 5. php.ini add extension=php_ssh2.dll6. R
Connect to fedora core2 through SSH in Windows
It is mainly because the fedora core2 encoding is UTF-8, so it cannot be correctly displayed.
1. temporary solution:
Run the following command every time you log on via SSH:
Chinese: Export lang = zh_cn.gb2312
English: Export lang = "en_us"
Export lc_all = "en_us"
For example, [root @ localhost ~] # Export lang = zh_cn.gb2312
2. (FIND) a stable solution:The
Normal situation we are to SSH client directly connected to the service side of SSH, even if the jump is also in Linux or other Unix system through Ssh-server to other open SSH services on the host, because Openssh-server, Ssh-client such software UNIX, Linux systems are ins
SSH to the 192.168.88.61 machine requires a password, which is inconvenient for some scripts because of the need for a password, which requires manual intervention. Recently found a command Ssh-copy-id is very convenient, tested, and sure enough to use, recorded:On the 192.168.88.61 machine.1) Run: ssh-keygen-t RSA2) Then take two returns (select default)3) Run:
the screen
Jump:": Return to the jump location.CTRL-O: Jump to an older placeCTRL-I: jump to a newer place
Search:/: Search down (add a keyword)? : Search up (followed by a keyword)N: The next matched record
Edit:I: Switch to insert modeX: Delete the current character.: Repeat the last modification operation (same as ctrl + f in PS to execute the filter)U: Undo operationCTRL-R: redoP: insert the deleted characters to the current position (put)
Exit and save:: Q: Exit: Q! : Do not save and exitZ
To put it simply, the svn + SSH (SVN over SSH) protocol works by establishing an SSH connection between the svn client and the server, and then pushing commands and transmitting data through the SSH connection, to achieve more secure SVN communication through SSH. Using SVN
Common linux Services-SSH and ssh public key authentication 1. ssh (secureshell) is installed by default. the package name is openssh, [root @ localhostlogs] yuminstallopenssh hellip; common linux Services-SSH and ssh public key authentication 1.
Principles and Application of SSH remote logon and ssh remote Logon
SSH is the standard configuration for each Linux computer.
As Linux devices gradually expand from computers to mobile phones, peripherals, and household appliances, SSH is widely used. Not only do programmers have to do with it, but many common users
Ssh configuration password-less login, ssh password login
Premise: machines A and B are all RedHat Linux operating systems and all have user
1. Log On with the user name and run the command on machine.
Ssh-keygen-t rsa
Press enter without a password
Run this operation to generate the id_rsa and id_rsa.pub files under/home/user/.
Use of SSH-copy-ID
Ssh-copy-ID is a preset command in the SSH client suite. Simply put, it is just a script, when you have produced an RSA or DSA on your computerAuthentication. You can send the authentication token to the local host using the ssh-copy-id command.
How to Establish RSA or DSA authentication?
$
CentOS Study Notes-SSH, centos-sshConfigure SSH
If the network SSH service is enabled by default, you can test it on the client. If not, run the following command:
[Root @ www ~] #/Etc/init. d/sshd restart stopping sshd: [OK] Activating sshd: [OK] # You can also use service sshd restart
(The following is from the Linux private house dish of laruence-Chapter 11t
1, execute command and script on remote host based on password and secret keySsh-t IP "CLI or shell.sh";The 2,C program implements the above functions--based on password-lessPorting the simple C program above to a different system to use the testAuthorized_keys;Copy the ~/.ssh/id_rsa.pub itself to the host that needs passwordless and append the id_rsa.pub content to the ~/.ssh/authorized_keys, then you can
What is the security comparison between FTP and SSH?
Ftp:
Http://baike.baidu.com/subview/369/6149695.htmIn the TCP/IP protocol, the FTP standard command TCP port number is 21,port mode with a data port of 20. The task of FTP is to transfer files from one computer to another computer, without the limitation of the operating system.
The computer that requires remote file transfer must have the FTP client installed and running.
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.