Closed k0286 closed 5 months ago
have you tried with mkdir -p $HOME/.config/termscp
?
Recently had a similar issue. Solved it by inspecting the bookmarks file.
bookmarks.toml
, or corrupted bookmarks.toml
file.Thx for the replies!
the $HOME/.config/termscp
is existed. And the $HOME/termscp/bookmarks.toml
looks like
[bookmarks]
[recents]
After some experiments, I find out that the bookmark function can work if the termscp run with sudo
.
So I compare the logs between using sudo
and without sudo
.
The main difference is the following
And the log
#without sudo
2023-12-18T06:01:07.387271876Z [ERROR] Failed to get key from storage: Provider service error
#with sudo
2023-12-18T06:02:36.097700228Z [WARN] KeyringStorage is not supported; using FileStorage
DO you have gnome on ubuntu? In that case you could try to see whether the gnome-keyring is accessible to your user
Because the server I used is a headless server, so I'm not sure the gnome-keyring is enabled or not.
But even I start the gnome-keyring-daemon
manually, using the following snippet and add the module to the pam, I still get the same error message in termscp
$ eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
$ export SSH_AUTH_SOCK
I'm running into this same problem.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.
Description
When I enter to the termscp, the dialog pops the message ' Could not initialize bookmarks (at "/home/XXX/.config/termscp/bookmarks.toml", '.
And I can not save the bookmark, no reaction after press
ctrl
+s
Steps to reproduce
termscp
in terminalctrl
+s
Expected behaviour
the host should be save to the bookmarks
Environment
Log