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
For details, see:
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.
SecureCRT 7.0 log on to the Ubuntu 12.04 server under Vmware through the SSH service
SecureCRT connects to Ubuntu
Interesting tips on SecureCRT in Linux
Solve the "Generic clipboard failure" error reported by SecureCRT
How to log on to Ubuntu in SecureCRT