Problem 1: secureCRT connection to Ubuntu-Theremotesystemrefusedtheconnection solution: 1. openssh-client is installed on openssh-serverUbuntu by default, so it is not installed here. If your system is not installed, use sudoapt-getinstallopenssh-server to install it. 1.1 enter the command: su
Question 1: how to connect secureCRT to Ubuntu-The remote system refused the connection
Solution:
1. install openssh-server
Openssh-client is installed by default in Ubuntu, so it is not installed here. If your system is not installed, use sudo apt-get install openssh-server to install it.
1.1 enter the command: sudo apt-get install openssh-server
1.2 check whether openssh-server is Enabled:
Ps-e | grep ssh
Normally, the result is:
1584? 00:00:00 ssh-agent
2299? 00:00:00 sshd
1.3 if only ssh-agent is available, openssh-server has not been started./etc/init. d/ssh start is required. If you see sshd, openssh-server has been started.
2. the ssh-server configuration file is located in/etc/ssh/sshd_config. Here we can define the SSH service port. The default port is 22. You can define it as another port number, such as 222. Then restart the SSH service:
Sudo/etc/init. d/ssh restart
Question 2: Chinese characters of SecureCRT are garbled
See specific: http://www.linuxidc.com/Linux/2013-11/92539.htm
The following two steps:
Remote linux machine. Modify the environment variable LANG. For example ~ /. Add in bash_profile
Export LANG = zh_CN.UTF8
It takes effect after you log on again.
Now let's check the current settings:
Myname @ myhost ~> Locale
LANG = zh_CN.UTF8
LC_CTYPE = "zh_CN.UTF8"
LC_NUMERIC = "zh_CN.UTF8"
LC_TIME = "zh_CN.UTF8"
LC_COLLATE = "zh_CN.UTF8"
LC_MONETARY = "zh_CN.UTF8"
LC_MESSAGES = "zh_CN.UTF8"
LC_PAPER = "zh_CN.UTF8"
LC_NAME = "zh_CN.UTF8"
LC_ADDRESS = "zh_CN.UTF8"
LC_TELEPHONE = "zh_CN.UTF8"
LC_MEASUREMENT = "zh_CN.UTF8"
LC_IDENTIFICATION = "zh_CN.UTF8"
LC_ALL =
Myname @ myhost ~>
Local windows machine. Modify SecureCRT settings. Find "option"-> "session option"-> "appearance ":
* Set the character encoding to UTF-8.
* Set the font and select a Chinese font, such as the new.
The settings are complete. Then test.
Reading:
SecureCRT 7.0 log on to Ubuntu 12.04 server http://www.linuxidc.com/Linux/2013-08/88638.htm under Vmware via SSH service
SecureCRT connection Ubuntu http://www.linuxidc.com/Linux/2013-06/85824.htm
SecureCRT interesting tips http://www.linuxidc.com/Linux/2013-04/83353.htm in Linux
Solve the http://www.linuxidc.com/Linux/2013-02/79713.htm for "Generic clipboard failure" error reported by SecureCRT
SecureCRT login Virtual Machine Ubuntu detailed http://www.linuxidc.com/Linux/2013-01/78172.htm