github 2hjaito/davish v1.15.3
Davish v1.15.3

46 minutes ago

Added

  • Install with Homebrew and Scoop: brew install --cask daeviz/davish/davish on macOS; scoop bucket add davish https://github.com/daeviz/scoop-davish, then scoop install davish on Windows. The release workflow updates both repositories after each release (it needs the TAP_TOKEN secret).
  • Linux .deb package (Debian, Ubuntu and relatives, amd64): sudo apt install ./Davish-…-linux-amd64.deb pulls in GTK and WebKitGTK and adds Davish to the application menu. Built by the release workflow beside the .tar.gz; CI builds one on every run.
  • PuTTY .ppk keys: choose a .ppk file (from puttygen, format versions 2 and 3; RSA, ECDSA and Ed25519, with or without a passphrase) as a server's key directly, with no export to OpenSSH first. Davish reads it itself and checks the file's MAC, which tells a wrong passphrase from a damaged file, and writes nothing to disk. Version 1 files and Argon2d still say how to convert them in PuTTYgen. Approach learned from motty (Apache-2.0); the code is our own.
  • GPU processes, like nvtop: Monitor → GPU now lists the processes on each NVIDIA GPU below the cards: PID, user, GPU, type, utilization, GPU memory and its share of the card, CPU, host memory and the command, sorted by any column. It runs nvidia-smi and reads /proc for those processes every 3 seconds, only while the GPU tab is open. Where the driver has no pmon only compute processes show, without utilization; Windows in WDDM mode shows no GPU memory per process.
  • German interface: pick Deutsch in Settings → General → Language; the first time, Davish follows a system set to German.
  • Korean interface (#327, from @wbg1991): pick 한국어 in Settings → General → Language; the first time, Davish follows a system set to Korean. The cron description now also reads right in languages that put the time after its word.
  • French interface: pick Français in Settings → General → Language; the first time, Davish follows a system set to French (France, Canada, Belgium, Switzerland). The first draft was made with AI, so wrong or clumsy words are welcome in Discussion #323.
  • Reorder the Dock: drag a pinned icon along the Dock to move it, as on macOS. The other icons step aside to show where it lands, and the new order is kept when you let go. It stays between Launchpad and the open apps that are not kept in the Dock, Escape while dragging puts it back, and a click still opens the app. Pins for apps another server's system has keep their places.
  • Hold a widget to edit the widgets: hold a desktop widget still for half a second and widget editing turns on, as on a phone's home screen, without going through View → Edit widgets. Letting go then opens nothing, and moving without letting go drags the widget as before. A short click still opens the widget's app.
  • Servers reached through a ProxyCommand (#320, from @nullmax): a server behind a WebSocket relay, Cloudflare Access, AWS SSM or a bastion that only ProxyCommand reaches can now be added, or imported from ~/.ssh/config with its command. Davish runs the command on this computer through your shell, as ssh does, with %h, %n, %p, %r and %% expanded. A command you type in the server dialog runs at once; one that came from an import is shown first, with the exact line it will run, and Davish asks once and again if the command changes. A host or login with a character the shell would read is refused before it reaches the command. Not for use with a jump server or a control socket.
  • Open with sudo (#177): a folder or file your SSH user cannot read can now be opened. Right-click it in Files and choose Open with sudo…, or press the same button next to the permission error, in Files for a folder and in Editor for a file. Davish shows the exact read-only command first (find to list, stat and head to read) and runs it through sudo, asking for the sudo password once per session if needed. A file opened this way is read-only; Edit with sudo… saves it as root as before, and deleting still asks first.

Fixed

  • Monitor → GPU now reads AMD and Intel GPUs, not only NVIDIA (#313): a server with a Radeon or an Intel iGPU used to show "No NVIDIA GPU found". On Linux the cards come from the kernel (/sys/class/drm: utilization, GPU memory, temperature and power for AMD; the name for Intel, whose driver reports no load there), and the process table from the DRM descriptors each process holds open (/proc/PID/fdinfo, the source nvtop uses): GPU time since the last reading and GPU memory. Without root only your own processes are visible. On Windows servers every vendor is read from Windows' own GPU counters (engine load, memory per card and per process); no temperature or power there. Nothing is installed on the server. Not yet tried on a real AMD or Intel GPU; thanks to @tian2992 for the NVIDIA test and the Intel screenshots.
  • SSH agent that does not sign (#332, 1Password on Windows): when the agent refuses the login or closes the connection while waiting for you to confirm the key, Davish said "ssh handshake failed" (unreachable), which sends you looking at the network. It now says the agent did not sign, and points at the agent's confirmation prompt and its own log.
  • 1Password on Windows showed no prompt for Davish, so every login through its SSH agent waited a minute and failed (#332). 1Password names the app that asks for a key after the parent of the process holding its pipe, and Davish opened from the Start menu or Explorer has only Explorer above it ("process tree is empty" in 1Password's log). Davish now opens the agent's pipe through a copy of itself that runs without a window, and 1Password asks "Allow Davish". Tried on Windows 10 with 1Password from the Microsoft Store. Found on the way: an agent that lists no keys is asked once more a second later (1Password lists none the first time while it is locked), and the "no key found" error now says to unlock 1Password or Bitwarden before pointing at Windows' own agent; Disconnect while the agent waits for you ends that login, where it used to stay waiting behind the next one; trusting a new server's host key no longer shows "Something went wrong" when the connection after it fails, which has its own error dialog.
  • Dates followed one fixed order whatever the language (#326, from @wbg1991): the Git app always wrote commit dates in the Vietnamese format, and the menu bar clock, file dates and cron run times always wrote day before month. Each language now writes its own.
  • SSH agent that asks you first (Bitwarden): Davish closed the connection after 10 seconds, under a "Confirm SSH key usage" prompt that nobody had answered yet, and logged nothing (#168). While the agent is signing the login, Davish now waits for you, up to a minute (or DAVISH_AGENT_WAIT if that is longer), and gives the server a fresh moment to answer once it has signed. The log says when the agent starts signing, how long it took and how it ended, and a handshake that fails for another reason is logged too. If the minute passes, the error now says the agent did not sign in time and to look for its confirmation window.
  • Linux: the archive now holds the icon and install-desktop.sh, which adds Davish to the application menu. On Wayland (KDE, GNOME) a window's icon comes from a desktop entry, so before this the window showed no icon (#305). Not tried on a Wayland desktop yet.
  • Control socket: a server reached through an OpenSSH control socket no longer shows "Connection lost" about 15 seconds after it connects (#301). Davish's keepalive request is not forwarded by OpenSSH's mux proxy, which dropped the connection that sent it. Davish now sends no keepalives over a control socket: the master looks after the server (ServerAliveInterval), and a master that exits closes the socket, which Davish still notices. Found by @PlayerFann14.
  • Settings: a setting with a long explanation and a row of buttons beside it squeezed the text into a narrow column (the "Dragging windows" row ran to 13 lines in Vietnamese). Dragging windows, When Davish opens, Scrollback, Alert hold and Sudo forget now put the buttons under the text, like the Performance level above (#304).
  • Docker: ‹ Containers on a container's page goes back to the table again; the click did nothing (#310). The app menu read the page's container after going back had dropped it, and the error stopped the page from closing. Items an app adds to the menu bar now also leave it when their part of the window closes; before, they stayed behind.
  • All servers → Map: the map had no margin, so its cards touched the edge of the sidebar and the window. It now has the same margin as the list of servers. The title was shown twice and there were two refresh buttons; the title is now "name map" in the window's top bar, and that bar's refresh button reads the map again (before, it only reloaded the list of servers).
  • Deleting a server now names the other servers that go through it as a jump host and will connect directly afterwards, so that is seen before you confirm. The rest of the audit after #296 found nothing else to change in the script shortcuts, the updater (signed checksums, no downgrades) or the app lock reset.
Tiếng Việt

Thêm

  • Cài bằng Homebrew và Scoop: brew install --cask daeviz/davish/davish trên macOS; scoop bucket add davish https://github.com/daeviz/scoop-davish rồi scoop install davish trên Windows. Workflow phát hành tự cập nhật hai repo đó sau mỗi bản (cần secret TAP_TOKEN).
  • Gói .deb cho Linux (Debian, Ubuntu và họ hàng, amd64): sudo apt install ./Davish-…-linux-amd64.deb kéo theo GTK và WebKitGTK và thêm Davish vào menu ứng dụng. Workflow phát hành dựng nó cạnh file .tar.gz; CI dựng một bản ở mỗi lượt chạy.
  • Khóa PuTTY .ppk: chọn thẳng file .ppk (puttygen, định dạng phiên bản 2 và 3; RSA, ECDSA, Ed25519, có hoặc không có passphrase) làm khóa của server, không cần xuất sang OpenSSH nữa. Davish tự đọc, kiểm tra MAC của file để phân biệt passphrase sai với file hỏng, và không ghi gì ra đĩa. Định dạng phiên bản 1 và Argon2d vẫn báo cách chuyển bằng PuTTYgen. Tham khảo cách làm của motty (Apache-2.0), mã tự viết.
  • Tiến trình GPU, giống nvtop: Monitor → GPU giờ liệt kê các tiến trình trên mỗi GPU NVIDIA bên dưới các thẻ: PID, người dùng, GPU, loại, mức sử dụng, bộ nhớ GPU và tỉ lệ trên card, CPU, bộ nhớ máy và lệnh, sắp xếp được theo mọi cột. Davish chạy nvidia-smi và đọc /proc của các tiến trình đó mỗi 3 giây, chỉ khi đang mở tab GPU. Driver không có pmon thì chỉ hiện tiến trình tính toán, không có mức sử dụng; Windows ở chế độ WDDM không có bộ nhớ GPU theo từng tiến trình.
  • Giao diện tiếng Đức: chọn Deutsch trong Cài đặt → Chung → Ngôn ngữ; lần đầu Davish theo máy đặt tiếng Đức.
  • Giao diện tiếng Hàn (#327, của @wbg1991): chọn 한국어 trong Cài đặt → Chung → Ngôn ngữ; lần đầu Davish theo máy đặt tiếng Hàn. Mô tả cron giờ cũng đọc đúng với những ngôn ngữ đặt giờ sau chữ "lúc".
  • Giao diện tiếng Pháp: chọn Français trong Cài đặt → Chung → Ngôn ngữ; lần đầu Davish theo máy đặt tiếng Pháp (Pháp, Canada, Bỉ, Thụy Sĩ). Bản dịch đầu làm bằng AI, từ nào sai hay gượng xin báo ở Discussion #323.
  • Sắp xếp lại Dock: kéo một icon đã ghim dọc theo Dock để đổi chỗ, như macOS. Các icon khác dịch ra để cho thấy chỗ nó sẽ nằm, và thứ tự mới được giữ khi thả chuột. Icon chỉ đi trong khoảng giữa Launchpad và các app đang mở mà không ghim, nhấn Esc khi đang kéo để trả về chỗ cũ, còn bấm một cái vẫn mở app như trước. Các app được ghim nhưng chỉ có trên hệ điều hành của server khác vẫn giữ nguyên chỗ.
  • Giữ một widget để chỉnh sửa widget: giữ yên một widget trên desktop nửa giây là vào chế độ chỉnh sửa widget, như màn hình chính của điện thoại, không cần qua Xem → Chỉnh sửa widget. Thả chuột lúc đó không mở gì, còn di chuột mà chưa thả thì kéo widget như trước. Bấm một cái vẫn mở app của widget như trước.
  • Server đi qua ProxyCommand (#320, của @nullmax): server sau relay WebSocket, Cloudflare Access, AWS SSM hay bastion chỉ vào được bằng ProxyCommand giờ thêm được, hoặc nhập từ ~/.ssh/config kèm lệnh của nó. Davish chạy lệnh đó trên máy này qua shell của bạn, như ssh, với %h, %n, %p, %r và %% được thay. Lệnh bạn gõ trong hộp thoại server chạy ngay; lệnh đến từ nhập thì được hiện trước, đúng dòng sẽ chạy, Davish hỏi một lần và hỏi lại nếu lệnh đổi. Host hoặc user có ký tự shell đọc được bị từ chối trước khi vào lệnh. Không dùng cùng server jump hay control socket.
  • Mở bằng sudo (#177): thư mục hoặc file mà tài khoản SSH không đọc được giờ mở được. Nhấp chuột phải trong Files và chọn Mở bằng sudo…, hoặc bấm nút cùng tên cạnh lỗi quyền (Files với thư mục, Editor với file). Davish hiện đúng lệnh chỉ đọc trước (find để liệt kê, stat và head để đọc) rồi chạy qua sudo, hỏi mật khẩu sudo một lần mỗi phiên nếu cần. File mở kiểu này ở chế độ chỉ đọc; Sửa bằng sudo… vẫn lưu bằng root như trước, còn xóa vẫn hỏi trước.

Sửa

  • Monitor → GPU giờ đọc cả GPU AMD và Intel, không chỉ NVIDIA (#313): server có Radeon hay iGPU Intel trước đây báo "Không thấy GPU NVIDIA". Trên Linux, thẻ đọc từ kernel (/sys/class/drm: mức sử dụng, bộ nhớ GPU, nhiệt độ và công suất với AMD; chỉ có tên với Intel vì driver của nó không báo tải ở đó), còn bảng tiến trình đọc từ các descriptor DRM mà mỗi tiến trình đang mở (/proc/PID/fdinfo, nguồn nvtop dùng): thời gian GPU kể từ lần đọc trước và bộ nhớ GPU. Không có root thì chỉ thấy tiến trình của chính bạn. Trên server Windows, mọi hãng đọc từ bộ đếm GPU của Windows (tải theo engine, bộ nhớ theo card và theo tiến trình), không có nhiệt độ hay công suất. Không cài gì lên server. Chưa thử trên GPU AMD hay Intel thật; cảm ơn @tian2992 đã thử NVIDIA và gửi ảnh Intel.
  • SSH agent không ký (#332, 1Password trên Windows): khi agent từ chối đăng nhập hoặc đóng kết nối trong lúc chờ bạn xác nhận khóa, Davish báo "ssh handshake failed" (không tới được), dễ làm người ta đi tìm lỗi mạng. Giờ nó báo thẳng là agent không ký, và chỉ tới hộp xác nhận của agent cùng log của chính agent.
  • 1Password trên Windows không hiện hộp xác nhận cho Davish, nên mọi lần đăng nhập qua SSH agent của nó chờ một phút rồi hỏng (#332). 1Password đặt tên app xin khóa theo tiến trình cha của tiến trình giữ pipe, mà Davish mở từ Start menu hay Explorer chỉ có Explorer phía trên ("process tree is empty" trong log của 1Password). Giờ Davish mở pipe của agent qua một bản sao của chính nó chạy không cửa sổ, và 1Password hỏi "Allow Davish". Đã thử trên Windows 10 với 1Password cài từ Microsoft Store. Sửa kèm: agent trả về danh sách trống thì được hỏi lại sau một giây (1Password đang khóa thì lần đầu không trả key nào), và lỗi "không tìm thấy key" giờ nhắc mở khóa 1Password hay Bitwarden trước khi nói tới agent của Windows; bấm Ngắt kết nối khi agent đang chờ bạn thì lần đăng nhập đó dừng hẳn, không còn chờ chồng sau lần kết nối tiếp theo; tin host key của server mới không còn hiện "Something went wrong" khi lần kết nối ngay sau đó hỏng, vì lỗi đó đã có hộp báo lỗi riêng.
  • Ngày tháng luôn theo một thứ tự cố định dù chọn ngôn ngữ nào (#326, của @wbg1991): app Git luôn ghi ngày commit theo kiểu Việt Nam, còn đồng hồ menu bar, ngày của file và giờ chạy cron luôn ghi ngày trước tháng. Giờ mỗi ngôn ngữ ghi theo cách của nó.
  • SSH agent hỏi bạn trước (Bitwarden): Davish đóng kết nối sau 10 giây, ngay lúc hộp "Confirm SSH key usage" chưa ai kịp bấm, và không ghi gì vào log (#168). Khi agent đang ký đăng nhập, Davish giờ chờ bạn tới một phút (hoặc DAVISH_AGENT_WAIT nếu dài hơn), rồi cho server thêm một khoảng để trả lời sau khi đã ký. Log ghi khi agent bắt đầu ký, mất bao lâu và kết thúc ra sao; lỗi bắt tay vì lý do khác cũng được ghi. Nếu quá một phút, lỗi giờ nói rõ agent chưa ký kịp và nhắc tìm cửa sổ xác nhận của nó.
  • Linux: gói tải về giờ có icon và install-desktop.sh, thêm Davish vào menu ứng dụng. Trên Wayland (KDE, GNOME) icon của cửa sổ lấy từ một mục desktop, nên trước đây cửa sổ không có icon (#305). Chưa thử trên desktop Wayland thật.
  • Control socket: server đi qua control socket của OpenSSH không còn báo "Mất kết nối" khoảng 15 giây sau khi kết nối (#301). Yêu cầu keepalive của Davish không được proxy mux của OpenSSH chuyển đi, và nó đóng kết nối đã gửi. Davish giờ không gửi keepalive qua control socket: master tự lo cho server (ServerAliveInterval), và master thoát thì socket đóng, Davish vẫn phát hiện. Do @PlayerFann14 tìm ra.
  • Cài đặt: một mục có lời giải thích dài và hàng nút bên cạnh làm chữ bị ép thành cột hẹp (mục "Kéo cửa sổ" dài tới 13 dòng ở tiếng Việt). Kéo cửa sổ, Khi mở Davish, Số dòng cuộn, Giữ cảnh báo và Quên mật khẩu sudo giờ đặt nút bên dưới chữ, giống mục Mức hiệu năng phía trên (#304).
  • Docker: nút ‹ Container trên trang của một container lại quay về bảng; trước đây bấm không có tác dụng (#310). Menu của app đọc container của trang sau khi việc quay lại đã bỏ nó đi, và lỗi đó chặn trang đóng lại. Các mục một app thêm vào menu bar giờ cũng biến mất khi phần cửa sổ của chúng đóng; trước đây chúng bị bỏ lại.
  • Tất cả server → Bản đồ: bản đồ không có lề nên các thẻ dính sát mép sidebar và mép cửa sổ. Giờ có lề giống danh sách server. Tiêu đề từng hiện hai lần và có hai nút làm mới; giờ tiêu đề là "tên map" ở thanh trên của cửa sổ, và nút làm mới ở đó đọc lại bản đồ (trước đây nó chỉ tải lại danh sách server).
  • Xóa một server giờ nêu tên các server khác đang đi qua nó (jump host) và sẽ chuyển sang kết nối thẳng, để thấy điều đó trước khi xác nhận. Phần rà soát còn lại sau #296 không thấy gì cần đổi ở lối tắt script, bộ cập nhật (checksum có chữ ký, không hạ phiên bản) hay đặt lại khóa app.

Code signing policy

Don't miss a new davish release

NewReleases is sending notifications on new releases.