Score:0

How to forward the .config file to remote host together with the agent?

in flag

I have a GitLab server configured on a non-standard port. I am using ssh protocol to clone and push, and I have configured the correct port entry in the .config file of ssh.

Now, I need to connect to the GitLab server from a remote pc. I want to use the forward agent functionality to avoid creating a new public/private key on the PC and a new remote config file.

The forward agent option seems to work just fine (i.e. ForwardAgent Yes). However, the "config" of the GitLab server is not forwarded to the remote server. Is there a way to also provide to the remote server the local config file?

Score:0
ec flag

You will need to copy the configuration file to the other machine or use other means to configure ssh on the remote machine.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.