I use SecureCRT to remotely connect to Ubuntu in my virtual machine. An error is reported and the connection fails. 1. ping each other under ipconfig on Windows and ifconfig on Ubuntu. The ping is successful. 2. No ssh service is available when sshlocalhost on Ubuntu is found. 3. run sudoapt-getinstallopenssh-server to restart ssh 1.
I use SecureCRT to remotely connect to Ubuntu in my virtual machine. An error is reported and the connection fails.
1. Run ipconfig on Windows and ifconfig on Ubuntu respectively.
Ping each other. The ping is successful.
2. ssh localhost on Ubuntu
No ssh service found
3. execute commands
Sudo apt-get install openssh-server
Ssh again
Ssh localhost
Now it is okay, So theoretically it should be better.
Open the link just now
Change the user name to my User Name joy and enter the password.
Continue to report the error ????
Check the prompt information
I will try again
Note the username in the image
Login successful
It seems that the error was caused by the username input of SecureCRT.
In fact, there are further reasons to explore. Please study the problems of logon by different user types on your own.
SecureCRT connects to Ubuntu-port forwarding http://www.linuxidc.com/Linux/2015-12/126258.htm in VirtualBox
Using SecureCRT to realize two-way communication between WIN7 and Linux and solve the problem of mutual File Transfer http://www.linuxidc.com/Linux/2014-08/105412.htm
How to log on to Ubuntu http://www.linuxidc.com/Linux/2011-03/33024p4.htm via SSH using SecureCRT6.6.2
SecureCRT connection Ubuntu http://www.linuxidc.com/Linux/2013-06/85824.htm
Ubuntu 12.04 + Virtual Machine VMware 9 + Secure CRT + EditPlus local C ++ Development Environment build http://www.linuxidc.com/Linux/2013-05/84820.htm
Transfer File http://www.linuxidc.com/Linux/2014-08/105413.htm between Linux and Windows using SecureCRT
Install SecureCRT 14.10 http://www.linuxidc.com/Linux/2014-10/108709.htm in Ubuntu 7.3
SecureCRT: Click here
SecureCRT: Click here
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2016-03/129007.htm