1.设置允许ssh密码登录:
cat /etc/ssh/sshd_config
PermitRootLogin yes
#允许root登录
PasswordAuthentication yes
#允许密码登录
2.设置csh下命令补全:
cat .cshrc
set autolist
3.设置PS:
set prompt = "%U%n%u@%m:%B%~# "
4.安装vim替代系统自带vi:
pkg_add -r -v vim-lite
cp /usr/local/share/vim/vim73/vimrc_example.vim ~/.vimrc
编辑.cshrc添加或修改:
cat ~/.cshrc
setenv EDITOR vim
alias vi vim
5.设置ports和packages:https://www.haiyun.me/archives/freebsd-packages-ports.html