安裝 OpenSSH Server
1. sudo apt-get install openssh-server2. /etc/ssh/sshd_config 應該不需要修改
3. sudo /etc/init.d/ssh restart
[samba] 使用user 登入的簡易設定
1. sudo apt-get install samba
2. 修改 /etc/samba/smb.conf
[share1]
comment = sharepath = /share
browseable = yes
writable= yes
public = yes
3.設定使用者密碼 , 再檢查/etc/samba/smbpasswd 是否有新增使用者
smbpasswd -a test1
cat /etc/samba/smbpasswd
沒有留言:
張貼留言