I hope this is not the wrong place to ask: as I was not able to find any documentation on the matter can someone tell me if there is a way to configure the SSH access from within kate to be able to push to remote repo. The only solution I’ve found so far is to launch Kate from within the terminal session where I’ve already setup the ssh-agent. If I simply launch Kate from the applications menu and try to setup the ssh-agent from within the Kate Konsole panel or within the project console panel, a push attempt will simply return a neat: git push error: git@github.com: Permission denied (publickey) error.
Thanks for your answer.
However my doubt are not on how to setup SSH access from the command line but from within Kate itself, if actually possible.
Let me explain better: my SSH access from the terminal is ok, i can perform any action with the git command line utility to the remote repo and when I run Kate from within that terminal session (where the SSH access is already configured), Kate is able to push to the remote GitHub repository without any issue.
My question is if we can configure Kate in some way to keep the SSH connection details so when we open the editor in a future desktop session we do not need to first setup the ssh-agent from within a terminal and then start Kate from there.
Thanks again
I have kate set up to use the same profile by default as Konsole or Yakuake and it works fine, so I know it’s possible. (Kate even has a version control plugin!)
Could you not add a command to .bashrc or .zshrc to start the agent?
What do you mean by that?
If it does not work through the console in dolphin, it will not work in ANY console (cli), it is just a console like any other. Be it Konsole, yakuake or even TTY, they are all exactly the same in this regard.
This makes zero sense. Again, the console in Kate is the same as any other console on your system.
Make sure you have your paths correct, because if you open a file you most likely no longer will be in your home. That would be the ONLY explanation I could find. Because if you do not get any errors trying to run the commands from the Kate console but your system acts differently, there is some kind of bug involved.
That’s how I would do it if I would find it annoying to run a tiny script I made each time I want to connect. xD
You too! Glad you figured it out, even though the console in Kate thing sounds VERY strange.