Have worked experience has a such work environment, source code compilation needs under Ubuntu, and the source code editing and other related work is done under Windows, it is bound to think how to build a bridge such a work, This article will explain how to build Ubuntu and Windows work Bridge
Ubuntu system is Ubuntu 12.04.5 Server AMD64, the machine name is Ubuntu, the user name is Antier,windows system for Windows 7 64-bit flagship edition
First of all, let's say it's easy. If you release an action command to an Ubuntu server via Windows, this requires a XSHLL,SSH protocol
Download the XSHLL5 and install it under Windows
Http://yunpan.cn/cmtEaLUwPuNTj Access Password 2342
The main purpose of using XSHLL is to log on to the Ubuntu terminal on the Windows environment to encode, remote login
Installing the SSH protocol under Ubuntu system
[Email protected]:~ $sudo apt-get Install Openssh-server openssh-client
Using Ps-ef | grep ssh, if only ssh-agent indicates not started, requires/etc/init.d/ssh start; with sshd instructions started
Set XSHELL5
Open XSHELL5, select "New", "Connection", "General"
"Name" Please feel free to set, I named "ubuntu-server-243" here,
"Protocol" select SSH
"Host" Enter the IP address of the host, I enter "192.168.1.243" here because I am inside the LAN
"Port number" is set to 22 by default
Select the User Authentication window
"User Name" Enter the user name that Ubuntu already exists. I'm typing antier here.
"Password" Enter the user password for the user name
Click "OK" so that you can control the Ubuntu host via Xshell.
How to solve the Chinese garbled characters
Under the premise of confirming that Ubuntu supports Chinese, in Xshell, select "File", "Properties", "terminal", "Encoding", "UTF-8"
Next, let's talk about the setup of Samba in Ubuntu.
Ubuntu installs and configures Samba
[Email protected]:~ $sudo apt-get Update
[Email protected]:~ $sudo apt-get Install samba Samba-common
[Email protected]:~ $sudo vim/etc/samba/smb.conf
Add the following at the end of the smb.conf document
[Antier]
Path =/home/antier
writeable = yes
Valid users = Antier
[Email protected]:~ $sudo smbpasswd-a antier
The username must be a user name that already exists in Ubuntu.
Double-click My Computer on the Windows side, enter \\server-ip\antier in the address bar
This will pop up need to enter the user name and password, and this user name is the user name and password you set SMBPASSWD, because you configured in the SMB.CONF path directory user is antier. So the Windows window will show the Ubuntu system directory/ Home/antier content Oh, wow .... It's easy!!
The end!! If there is anything else that you don't understand, please refer to the blog post "speaking in front".
This article is from the "Empty Cup mentality" blog, please be sure to keep this source http://antier.blog.51cto.com/10691818/1693157
Build bridges for Ubuntu and Windows Samba ssh Xshell