Samba server with Telnet ssh

Source: Internet
Author: User
Tags ssh server

Acacia plume Source: Http://www.cnblogs.com/xiang-siyu Welcome reprint, Please also keep this statement. Thank you!

Deepin Installing and configuring the Samba server
Installing Apt-get Install Samba
Create a user (requires a directory that already exists in the system)
Create a passwd file touch/etc/samba/smbpasswd
SMBPASSWD-A username
Password:


To edit a configuration file:
Vim/etc/samba/smb.conf
Configuration information is modified as follows
[Global]
Workgroup = Workgroup (workgroup)
Server string =%h Server
NetBIOS name = Deepin (host name)

#======================= Share Definitions =======================
[ShareFile] (The name that appears in Windows)
Comment = Share directory description
Path =/home/deepin/program paths
Valid users = Deepin Samba user
Public = yes
writeable = yes
browseable = yes
Read Only = no
Also need to configure shared files as readable writable chmod 777/home/deepin/program
Restart Samba Service
/etc/init.d/samba restart
Then enter the IP address of \\linux in Windows
Complete the setup and configuration of Samba

-------------------------------------------------------------------------------------------------
Linux telnet (using SSH)
Installation 1. Install the SSH server on the server you want to log on to
#apt-get Install Openssh-server
2. Start Ssh-server
#/etc/init.d/ssh Start (or restart)
Do not need to be configured
Then use the SECURECRT software on your Windows PC
Create a new SSH2 protocol next enter the IP address of Linux in hostname next, login with the Linux username and password
---------------------------------------------------------------------------------------------------

Debian set up samba and SSH services boot from boot

Since the Debian series Linux does not have chkconfig to configure the boot-up service

Installing Apt-get Install sysv-rc-conf

#sysv-rc-conf SMB on

#sysc-rc-conf ssh on

---------------------------------------------------------------------------------------------------

SECURECRT does not display Chinese

Select option-and session options in SECURECRT and select appearance

Modify character encoding (character encoding) to UTF-8

In the font above, select Arial in the normal font

Samba server with Telnet ssh

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.