Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:linux-tutorials:disable-ksshaskpass [2025/09/24 10:09] – removed - external edit (Unknown date) 127.0.0.1linux:linux-tutorials:disable-ksshaskpass [2025/09/24 10:09] (current) – ↷ Page name changed from linux:linux-tutorials:disable_ksshaskpass to linux:linux-tutorials:disable-ksshaskpass Zyzonix
Line 1: Line 1:
 +===== Disable ksshaskpass on KDE neon =====
  
 +To disable the pop-up window when opening a SSH-connection on KDEneon first uninstall the ''ksshaskpass'' package:
 +<code bash>sudo apt purge ksshaskpass</code>
 +
 +Then comment out all lines in ''/etc/xdg/plasma-workspace/env/neon_ksshaskpass.sh'', so that the file looks like:
 +<code bash>
 +#!/bin/sh
 +# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
 +# SPDX-FileCopyrightText: 2025 Carlos De Maine <carlosd.kde@gmail.com>
 +# export SSH_ASKPASS to be ksshaskpass
 +
 +#export SSH_ASKPASS='/usr/bin/ksshaskpass'
 +#export SSH_ASKPASS_REQUIRE='prefer'
 +
 +#ssh-add < /dev/null
 +
 +</code>
 +
 +Finally restart the bash console: ''exec bash''
 +
 +//Sourced partially from: [[https://unix.stackexchange.com/questions/374729/how-to-not-use-ksshaskpass-with-ssh|unix.stackexchange.com - How to not use ksshaskpass with SSH]]//