Amnezia-style SSH server connect with verify, ping and server_info
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -47,6 +47,9 @@ class VpnServer(Base):
|
||||
ssh_username: Mapped[str | None] = mapped_column(String(128), nullable=True)
|
||||
ssh_password: Mapped[str | None] = mapped_column(Text, nullable=True)
|
||||
ssh_private_key: Mapped[str | None] = mapped_column(Text, nullable=True)
|
||||
ssh_server_info: Mapped[str | None] = mapped_column(Text, nullable=True)
|
||||
ssh_reachable: Mapped[bool] = mapped_column(Boolean, default=False)
|
||||
ssh_last_checked: Mapped[datetime | None] = mapped_column(DateTime(timezone=True), nullable=True)
|
||||
# AmneziaWG 2.0 obfuscation params (ignored for plain WireGuard)
|
||||
jc: Mapped[int | None] = mapped_column(Integer, nullable=True)
|
||||
jmin: Mapped[int | None] = mapped_column(Integer, nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user