Unable to start sshch, if folder ~/.config doesn't exist #10
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: zlax/sshch#10
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Author: @ObSec
ba9fa303ba/sshch/sshch (L791)
Start without ~/.config folder returns
Traceback (most recent call last):
File "/usr/local/bin/sshch", line 791, in
open(conf_file, 'w')
IOError: [Errno 2] No such file or directory: '/home/user/.config/sshch.conf'
Might help:
conf_dir = os.path.expanduser("~") + '/.config'
if not os.path.exists(conf_dir):
os.makedirs(conf_dir)
Author: @zlaxy
@ObSec , thanks, fixed in main repository:
0fd4ff9b74 (f48a8759231e000660b4ebcd489bb369bcf57d4f)
Please, note: with this branch you need to update your passwords in sshch.conf (set passwords for aliases again)
git clone https://gitlab.com/zlax/sshch
I plan to update this Microsoft GitHub repository only with new releases. Everything new is on gitlab. Please, close this issue after testing fix.
Author: @ObSec
did a short test, works well. thank you