VirtualBox ubuntu under SSH connection

Source: Internet
Author: User
Tags openssh server ssh server

First, install an SSH server in Ubuntu

Installing OpenSSH Server under Ubuntu is an incredibly easy thing to do, requiring only one command:
sudo apt-get install Openssh-server

Then confirm that the Sshserver is started: (or with "NETSTAT-TLP" command)

Ps-e | grep ssh

If only ssh-agent that Ssh-server has not started, need to/etc/init.d/ssh start, if you see the sshd that shows that Ssh-server has been started.

Ssh-server configuration file is located in/Etc/ssh/sshd_config, where you can define the SSH service port, the default port is 22, you can define yourself as a different port number, such as 222. Then restart the SSH service:

Sudo/etc/init.d/ssh Resart


#GSSAPIAuthentication Yes #GSSAPIDelegateCredentials No and then restart the SSH service:
Sudo/etc/init.d/ssh restart

Second, set in VirtualBox

Third, Win7 SSH client login can

VirtualBox ubuntu under SSH connection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.