Problem: I want to sign in to Ubuntu with Putty today, but I can't log in after entering the IP address port number
Cause: Ubuntu that wants to log on remotely is not installed Openssh-service
Workaround: Install Openssh-service
Specific commands:
1. Install
Ubuntu is installed by default openssh-client, so it is not installed here, if your system is not installed, then use the Apt-get installation can be.
install ssh-server
install ssh-client
Span style= "Background-color:rgb (0,0,0);" >sudo apt-get Install openssh-client
2. Verify that the Sshserver is installed
ps-e | grep sshd
If you see sshd, that means Ssh-server has started.
If only ssh-agent indicates that Ssh-server is not started, you need to execute the command to start the SSH service:
/etc/init.d/ssh start;
Note: Only the sshd is displayed in the Ubuntu-12.04-server-i386.iso installation:
3. Extended Configuration
SSH default service port is 22, the user can be self-defined as a different port, such as 222, the configuration file that needs to be modified is:
/etc/ssh/sshd_config
Change the port parameter to 222
Then restart the SSH service:
Sudo/etc/init.d/ssh restart
Putty Unable to access Ubuntu system solution