| 54 |
9) 创建SSH2 RSA / ED25519 证书 |
9) 创建SSH2 RSA / ED25519 证书 |
| 55 |
ssh-keygen -t rsa -C "Your Server Name" -f $LBBS_HOME_DIR/conf/ssh_host_rsa_key |
ssh-keygen -t rsa -C "Your Server Name" -f $LBBS_HOME_DIR/conf/ssh_host_rsa_key |
| 56 |
ssh-keygen -t ed25519 -C "Your Server Name" -f $LBBS_HOME_DIR/conf/ssh_host_ed25519_key |
ssh-keygen -t ed25519 -C "Your Server Name" -f $LBBS_HOME_DIR/conf/ssh_host_ed25519_key |
| 57 |
|
ssh-keygen -t ecdsa -C "Your Server Name" -f $LBBS_HOME_DIR/conf/ssh_host_ecdsa_key |
| 58 |
|
|
| 59 |
10) 启动服务程序 |
10) 启动服务程序 |
| 60 |
sudo -u bbs $LBBS_HOME_DIR/bin/bbsd |
sudo -u bbs $LBBS_HOME_DIR/bin/bbsd |