Some Problems and Solutions for ubuntu remote connection
1. to remotely connect to a linux host on the Windows platform, download the remote connection client on the window, such as SSH, SecureCRT, and putty.
2. What is important about this is that you also need to install the SSH service program on the linux host. Otherwise, it cannot be connected. The principle is very simple. in linux, you need a program to accept remote client connections, we need to install this program on linux. Command attachment:
sudo apt-get install openssh-server
After installation, the system automatically starts the service program.
3. server responded "Algorithm negotiation failed"
The solution on the Internet is very effective:
Modify the ssh configuration file/etc/ssh/sshd_config
Add the following in the configuration file:
Ciphers aes128-cbc, aes192-cbc, aes256-cbc, aes128-ctr, aes192-ctr, aes256-ctr, 3des-cbc, arcfour128, arcfour256, arcfour, blowfish-cbc, cast128-cbc
MACs hmac-md5, hmac-sha1, umac-64@openssh.com, hmac-ripemd160, hmac-sha1-96, hmac-md5-96
KexAlgorithms diffie-hellman-group1-sha1, diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha1, diffie-hellman-group-exchange-sha256, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group1-sha1
After the sshd service is restarted, the connection can be established normally.
Sudo service ssh restart