Ubuntu10.10 配置ssh服务器及samba服务器
2012-06-28 14:54
363 查看
sudoapt-getinstallopenssh-serveropenssh-client
启动SSH-Server
sudo/etc/init.d/sshstart
然后点击位置-》连接到服务器-》SSH-》输入ip-》密码
命令登录:
ssh–lzhoulb192.168.6.179
把本机的文件拷贝到服务器的/home/zhoulb目录下:
Scp/work/NXP/***@192.168.6.179:/home/zhoulb
把远程文件传输给本地系统的一般语法是:
Ubuntu10.10安装samba服务器及配置
sudoapt-getinstallsamba
gedit/etc/samba/sam.conf
启动SSH-Server
sudo/etc/init.d/sshstart
然后点击位置-》连接到服务器-》SSH-》输入ip-》密码
命令登录:
ssh–lzhoulb192.168.6.179
把本机的文件拷贝到服务器的/home/zhoulb目录下:
Scp/work/NXP/***@192.168.6.179:/home/zhoulb
把远程文件传输给本地系统的一般语法是:
Ubuntu10.10安装samba服务器及配置
sudoapt-getinstallsamba
gedit/etc/samba/sam.conf
#smb.confisthemainSambaconfigurationfile.Youfindafullcommented
#versionat/usr/share/doc/packages/samba/examples/smb.conf.SUSEifthe
#samba-docpackageisinstalled.
#Date:2007-09-22
[global]
workgroup=WORKGROUP
printing=cups
printcapname=cups
printcapcachetime=750
cupsoptions=raw
include=/etc/samba/dhcp.conf
logonpath=\\%L\profiles\.msprofile
logonhome=\\%L\%U\.9xprofile
logondrive=P:
#usershareallowguests=Yes
domainlogons=Yes
domainmaster=Yes
localmaster=Yes
oslevel=65
preferredmaster=Yes
nullpasswords=yes
security=share
guestok=yes
usersharemaxshares=100
security=user
encryptpasswords=yes
smbpasswordfile=/etc/samba/smbpasswd
#root=wangcong
#[zhoulb]
#comment=zhoulb
#inheritacls=Yes
#path=/home/zhoulb
#readonly=No
[homes]
comment=HomeDirectories
browseable=no
writable=yes
validusers=%S
重启
servicesambastart
相关文章推荐
- Ubuntu 10.10 配置samba服务器
- ubuntu10.10-samba服务器安装设置(图形配置)
- ubuntu10.10-samba服务器安装设置(图形配置)
- Ubuntu 10.10 mysql的安装,配置环境,基本用法
- ubuntu 10.10配置NFS网络共享步骤
- 在Ubuntu 10.10下安装JDK配置Eclipse配置j2me
- ubuntu16.04 配置samba服务器登录home目录
- Ubuntu SAMBA服务器配置
- Ubuntu 配置无密码访问的samba服务器
- ubuntu10.10安装配置tftp服务—— tftp-hpa 安装
- Ubuntu10.10 Zend FrameWork配置及helloworld显示
- ubuntu下配置支持windows访问的samba服务器
- Ubuntu10.10中NFS服务的安装及配置
- Ubuntu 10.10 sun-java6-jdk (实际就算JDK6) 安装及配置
- Ubuntu10.10 配置GoAgent
- 配置Ubuntu 10.10提供HTTPS服务和Digest认证
- 在Ubuntu 10.10下安装JDK配置Eclipse及Tomcat
- Ubuntu10.10网络配置
- Linux学习篇之Ubuntu10.10嵌入式开发配置
- ubuntu10.10安装配置tftp服务—— tftp-hpa 安装与使用