Create New Document

The title of your document (will be displayed as H1)
URL-friendly name (no spaces, use dashes)
Path where to create document (optional, use forward slashes to create subdirectories)

Move/Rename Document

Current location of the document
New path for the document (including the slug)
This only changes the document's path. It does not modify the document's title (H1 heading).

Delete Document

Are you sure you want to delete this document? This action cannot be undone.

Warning: If this is a folder, all contents including subfolders and documents will be deleted.

Message

Message content goes here.

Confirm Action

Are you sure?

Attachments

Allowed file types: jpg, jpeg, png, gif, svg, webp, txt, log, csv, sfd, zip, pdf, docx, xlsx, pptx, mp4 (Max: 10MB)

Document Files

Loading attached files...

Document History

Previous Versions

Loading versions...

Preview

Select a version to preview

Wiki Settings

Language for the user interface
Number of versions to keep per document. Set to 0 to disable versioning.
Maximum allowed file size for uploads in MB.

User Management

Add New User

Leave empty to keep current password
Users with these groups can access restricted sections.

Define path-based access rules for sections of your wiki, then assign users to groups in the Users tab. Rules are evaluated in order. First match wins.

Active Rules

Import markdown files from a ZIP archive. Files will be processed and stored in the appropriate document structure. Directory structure in the ZIP (category/subcategory) will be preserved in the wiki.

Upload a ZIP file containing markdown (.md) files to import.

Create and manage backups of your wiki data. Backups include all documents, images, and configuration files.

Available Backups

Loading backups...

Add/Edit Access Rule

Selected: /

Add Column

Banner

Linux open SSH

在新安装的Kali Linux上开启SSH服务非常简单,只需要几个命令就能搞定。默认情况下,Kali为了安全是关闭SSH服务的。

📝 详细步骤

你可以按照下面的步骤一步一步来操作:

  1. 打开终端:在Kali的桌面或应用菜单里找到并打开“终端”(Terminal)窗口。

  2. 更新软件包列表(推荐):先更新一下系统里的软件包信息,确保能装上最新版本的软件。

    sudo apt update
    
  3. 安装OpenSSH服务器:Kali默认可能没有安装SSH服务端,所以需要先装上。输入命令,然后输入你的用户密码(通常是kali)。

    sudo apt install openssh-server -y
    

    -y 参数会自动确认安装,不需要你再手动输入“Y”。

  4. 启动SSH服务:安装完成后,用下面的命令来启动它。

    sudo systemctl start ssh
    

    ssh是服务名,在Kali中也可以使用sshd

  5. 设置开机自启动:如果你希望每次开机SSH服务都自动运行,可以把它添加到开机启动项里。

    sudo systemctl enable ssh
    

    这样系统每次启动就会自动开启SSH服务了。

  6. 查看服务状态(确认是否成功):检查一下SSH服务是不是真的在运行。输入这个命令,如果看到绿色的active (running)就说明成功了。

    sudo systemctl status ssh
    
  7. (重要)配置root用户远程登录:Kali默认禁止root用户通过SSH登录。如果你需要用root账号远程连接,需要修改一下配置文件。

    • 用文本编辑器打开SSH配置文件(这里用nano举例,你也可以用vim):

      sudo nano /etc/ssh/sshd_config
      
    • 在文件中找到#PermitRootLogin prohibit-password这一行。

    • 把它改成PermitRootLogin yes(注意去掉前面的#号)。

    • Ctrl + X,然后按 Y,再按回车保存并退出。

    • 重启SSH服务让修改生效:

      sudo systemctl restart ssh
      

    安全建议:在生产环境中,出于安全考虑,通常不推荐直接允许root登录,建议使用普通用户(比如kali)登录后再通过sudo切换到root。

  8. 检查防火墙(如果启用了UFW):如果你开启了UFW防火墙,需要放行SSH端口,默认是22。

    sudo ufw allow ssh
    sudo ufw reload
    

🔗 如何连接到Kali

配置完成后,你就可以在另一台电脑上通过SSH客户端(比如Windows上的PuTTY,或Linux/macOS上的终端)来连接Kali了。

连接命令格式是:

ssh 用户名@Kali的IP地址

例如,用默认的kali用户和IP地址192.168.1.100连接:

ssh kali@192.168.1.100

第一次连接会提示你确认主机的指纹,输入yes即可,然后输入你的密码就能远程登录了。

Attached Files

Loading attached files...
Search Results